aptos: {
    Address: typeof AptosAddress;
    ChainContext: typeof AptosChain;
    Platform: typeof AptosPlatform;
    Signer: typeof AptosSigner;
    getSigner: ((rpc, privateKey) => Promise<Signer>);
    protocols: {
        core: Promise<{
            AptosWormholeCore: any;
            default: any;
        }>;
        tokenbridge: Promise<{
            AptosTokenBridge: any;
            default: any;
        }>;
    };
} = ...

Platform and protocol definitions for Aptos

Type declaration

  • Address: typeof AptosAddress
  • ChainContext: typeof AptosChain
  • Platform: typeof AptosPlatform
  • Signer: typeof AptosSigner
  • getSigner: ((rpc, privateKey) => Promise<Signer>)
      • (rpc, privateKey): Promise<Signer>
      • Parameters

        • rpc: any
        • privateKey: string

        Returns Promise<Signer>

  • protocols: {
        core: Promise<{
            AptosWormholeCore: any;
            default: any;
        }>;
        tokenbridge: Promise<{
            AptosTokenBridge: any;
            default: any;
        }>;
    }
    • core: Promise<{
          AptosWormholeCore: any;
          default: any;
      }>
    • tokenbridge: Promise<{
          AptosTokenBridge: any;
          default: any;
      }>

Generated using TypeDoc