Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WalletProvider

Hierarchy

  • WalletProvider

Implemented by

Index

Properties

getPKH

getPKH: () => Promise<string>
description

Request the public key hash from the wallet

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

mapDelegateParamsToWalletParams

mapDelegateParamsToWalletParams: (params: () => Promise<Pick<DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">>) => Promise<any>
description

Transform WalletDelegateParams into a format compliant with the underlying wallet

Type declaration

    • (params: () => Promise<Pick<DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">>): Promise<any>
    • Parameters

      • params: () => Promise<Pick<DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">>
          • (): Promise<Pick<DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">>
          • Returns Promise<Pick<DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">>

      Returns Promise<any>

mapOriginateParamsToWalletParams

mapOriginateParamsToWalletParams: (params: () => Promise<Pick<OriginateParams<any>, "mutez" | "fee" | "gasLimit" | "storageLimit" | "balance" | "code" | "delegate" | "init" | "storage">>) => Promise<any>
description

Transform WalletOriginateParams into a format compliant with the underlying wallet

Type declaration

    • (params: () => Promise<Pick<OriginateParams<any>, "mutez" | "fee" | "gasLimit" | "storageLimit" | "balance" | "code" | "delegate" | "init" | "storage">>): Promise<any>
    • Parameters

      • params: () => Promise<Pick<OriginateParams<any>, "mutez" | "fee" | "gasLimit" | "storageLimit" | "balance" | "code" | "delegate" | "init" | "storage">>
          • (): Promise<Pick<OriginateParams<any>, "mutez" | "fee" | "gasLimit" | "storageLimit" | "balance" | "code" | "delegate" | "init" | "storage">>
          • Returns Promise<Pick<OriginateParams<any>, "mutez" | "fee" | "gasLimit" | "storageLimit" | "balance" | "code" | "delegate" | "init" | "storage">>

      Returns Promise<any>

mapTransferParamsToWalletParams

mapTransferParamsToWalletParams: (params: () => Promise<Pick<TransferParams, "mutez" | "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit">>) => Promise<any>
description

Transform WalletTransferParams into a format compliant with the underlying wallet

Type declaration

    • (params: () => Promise<Pick<TransferParams, "mutez" | "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit">>): Promise<any>
    • Parameters

      • params: () => Promise<Pick<TransferParams, "mutez" | "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit">>
          • (): Promise<Pick<TransferParams, "mutez" | "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit">>
          • Returns Promise<Pick<TransferParams, "mutez" | "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit">>

      Returns Promise<any>

sendOperations

sendOperations: (params: any[]) => Promise<string>
description

Request the wallet to send an operation batch

Type declaration

    • (params: any[]): Promise<string>
    • Parameters

      • params: any[]

      Returns Promise<string>

Generated using TypeDoc