Variable UpdateAccountRequestStructConst

UpdateAccountRequestStruct: Struct<{
    id: null | string | number;
    jsonrpc: "2.0";
    method: "keyring_updateAccount";
    params: {
        account: {
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        };
    };
}, {
    id: Struct<null | string | number, null>;
    jsonrpc: Struct<"2.0", "2.0">;
    method: Struct<"keyring_updateAccount", "keyring_updateAccount">;
    params: Struct<{
        account: {
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        };
    }, {
        account: Struct<{
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        }, {
            address: Struct<string, null>;
            id: Struct<string, null>;
            methods: Struct<string[], Struct<string, null>>;
            options: Struct<Record<string, Json>, null>;
            type: Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh", {
                bip122:p2wpkh: "bip122:p2wpkh";
                eip155:eoa: "eip155:eoa";
                eip155:erc4337: "eip155:erc4337";
            }>;
        }>;
    }>;
}> = ...

Type declaration

  • id: null | string | number
  • jsonrpc: "2.0"
  • method: "keyring_updateAccount"
  • params: {
        account: {
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        };
    }
    • account: {
          address: string;
          id: string;
          methods: string[];
          options: Record<string, Json>;
          type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
      }
      • address: string

        Account main address.

      • id: string

        Account ID (UUIDv4).

      • methods: string[]

        Account supported methods.

      • options: Record<string, Json>

        Account options.

      • type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh"

        Account type.

Type declaration

  • id: Struct<null | string | number, null>
  • jsonrpc: Struct<"2.0", "2.0">
  • method: Struct<"keyring_updateAccount", "keyring_updateAccount">
  • params: Struct<{
        account: {
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        };
    }, {
        account: Struct<{
            address: string;
            id: string;
            methods: string[];
            options: Record<string, Json>;
            type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
        }, {
            address: Struct<string, null>;
            id: Struct<string, null>;
            methods: Struct<string[], Struct<string, null>>;
            options: Struct<Record<string, Json>, null>;
            type: Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh", {
                bip122:p2wpkh: "bip122:p2wpkh";
                eip155:eoa: "eip155:eoa";
                eip155:erc4337: "eip155:erc4337";
            }>;
        }>;
    }>