interface WalletProvider {
    getPK: (() => Promise<string>);
    getPKH: (() => Promise<string>);
    mapDelegateParamsToWalletParams: ((params) => Promise<any>);
    mapIncreasePaidStorageWalletParams: ((params) => Promise<any>);
    mapOriginateParamsToWalletParams: ((params) => Promise<any>);
    mapTransferParamsToWalletParams: ((params) => Promise<any>);
    sendOperations: ((params) => Promise<string>);
    sign(bytes, watermark?): Promise<string>;
}

Implemented by

Properties

getPK: (() => Promise<string>)

Type declaration

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

Description

Get the public key from the wallet

getPKH: (() => Promise<string>)

Type declaration

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

Description

Request the public key hash from the wallet

mapDelegateParamsToWalletParams: ((params) => Promise<any>)

Type declaration

Description

Transform WalletDelegateParams into a format compliant with the underlying wallet

mapIncreasePaidStorageWalletParams: ((params) => Promise<any>)

Type declaration

Description

Transform WalletIncreasePaidStorageParams into a format compliant with the underlying wallet

mapOriginateParamsToWalletParams: ((params) => Promise<any>)

Type declaration

Description

Transform WalletOriginateParams into a format compliant with the underlying wallet

mapTransferParamsToWalletParams: ((params) => Promise<any>)

Type declaration

Description

Transform WalletTransferParams into a format compliant with the underlying wallet

sendOperations: ((params) => Promise<string>)

Type declaration

    • (params): Promise<string>
    • Parameters

      • params: any[]

      Returns Promise<string>

Description

Request the wallet to send an operation batch

Methods

  • Parameters

    • bytes: string
    • Optional watermark: Uint8Array

    Returns Promise<string>

    Description

    Request the wallet to sign a payload

Generated using TypeDoc