interface HederaNativeWallet {
    buildAndApproveSession(accounts, __namedParameters): Promise<Struct>;
    executeSessionRequest(event, hederaWallet): Promise<void>;
    getHederaWallet(chainId, accountId, privateKey, _provider?): default;
    hedera_executeTransaction(id, topic, body, signer): Promise<void>;
    hedera_getNodeAddresses(id, topic, _, signer): Promise<void>;
    hedera_signAndExecuteQuery(id, topic, body, signer): Promise<void>;
    hedera_signAndExecuteTransaction(id, topic, body, signer): Promise<void>;
    hedera_signMessage(id, topic, body, signer): Promise<void>;
    hedera_signTransaction(id, topic, body, signer): Promise<void>;
    parseSessionRequest(event, shouldThrow): {
        accountId?: default;
        body?: string | default | Uint8Array | default<any>;
        chainId: HederaChainId;
        id: number;
        method: HederaJsonRpcMethod;
        topic: string;
    };
    rejectSessionRequest(event, error): Promise<void>;
}

Implemented by

Methods

  • Parameters

    • accounts: string[]
    • __namedParameters: SessionProposal

    Returns Promise<Struct>

  • Parameters

    • event: SessionRequest
    • hederaWallet: default

    Returns Promise<void>

  • Parameters

    Returns default

  • Parameters

    • id: number
    • topic: string
    • body: default
    • signer: default

    Returns Promise<void>

  • Parameters

    • id: number
    • topic: string
    • _: any
    • signer: default

    Returns Promise<void>

  • Parameters

    • id: number
    • topic: string
    • body: default<any>
    • signer: default

    Returns Promise<void>

  • Parameters

    • id: number
    • topic: string
    • body: default
    • signer: default

    Returns Promise<void>

  • Parameters

    • id: number
    • topic: string
    • body: string
    • signer: default

    Returns Promise<void>

  • Parameters

    • id: number
    • topic: string
    • body: Uint8Array
    • signer: default

    Returns Promise<void>

  • Parameters

    • event: SessionRequest
    • shouldThrow: boolean

    Returns {
        accountId?: default;
        body?: string | default | Uint8Array | default<any>;
        chainId: HederaChainId;
        id: number;
        method: HederaJsonRpcMethod;
        topic: string;
    }

    • Optional accountId?: default
    • Optional body?: string | default | Uint8Array | default<any>
    • chainId: HederaChainId
    • id: number
    • method: HederaJsonRpcMethod
    • topic: string
  • Parameters

    • event: SessionRequest
    • error: {
          code: number;
          message: string;
      }
      • code: number
      • message: string

    Returns Promise<void>

Generated using TypeDoc