AccessListTx: {
    decode(input: Uint8Array | Reader, length?: number): AccessListTx;
    encode(message: AccessListTx, writer?: Writer): Writer;
    fromJSON(object: any): AccessListTx;
    fromPartial<I>(object: I): AccessListTx;
    toJSON(message: AccessListTx): unknown;
}

Type declaration

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            accesses?: ({ address?: string | undefined; storageKeys?: string[] | undefined; })[];
            chainId?: string;
            data?: Uint8Array;
            gas?: number;
            gasPrice?: string;
            nonce?: number;
            r?: Uint8Array;
            s?: Uint8Array;
            to?: string;
            v?: Uint8Array;
            value?: string;
        } & {
            accesses?: {
                address?: string;
                storageKeys?: string[];
            }[] & ({
                address?: string;
                storageKeys?: string[];
            } & ({ address?: string | undefined; storageKeys?: (string[] & string[] & { [K in Exclude<keyof I["accesses"][number]["storageKeys"], keyof string[]>]: never; }) | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
            chainId?: string;
            data?: Uint8Array;
            gas?: number;
            gasPrice?: string;
            nonce?: number;
            r?: Uint8Array;
            s?: Uint8Array;
            to?: string;
            v?: Uint8Array;
            value?: string;
        } & { [ K in string | number | symbol]: never }

      Parameters

      • object: I

      Returns AccessListTx

  • toJSON:function

Generated using TypeDoc