interface WalletProvider {
    getPK: (() => Promise<string>);
    getPKH: (() => Promise<string>);
    mapDelegateParamsToWalletParams: ((params: (() => Promise<WalletDelegateParams>)) => Promise<any>);
    mapFinalizeUnstakeParamsToWalletParams: ((params: (() => Promise<WalletFinalizeUnstakeParams>)) => Promise<any>);
    mapIncreasePaidStorageWalletParams: ((params: (() => Promise<WalletIncreasePaidStorageParams>)) => Promise<any>);
    mapOriginateParamsToWalletParams: ((params: (() => Promise<WalletOriginateParams<any>>)) => Promise<any>);
    mapStakeParamsToWalletParams: ((params: (() => Promise<WalletStakeParams>)) => Promise<any>);
    mapTransferParamsToWalletParams: ((params: (() => Promise<WalletTransferParams>)) => Promise<any>);
    mapTransferTicketParamsToWalletParams: ((params: (() => Promise<WalletTransferTicketParams>)) => Promise<any>);
    mapUnstakeParamsToWalletParams: ((params: (() => Promise<WalletUnstakeParams>)) => Promise<any>);
    sendOperations: ((params: any[]) => Promise<string>);
    sign(bytes: string, watermark?: Uint8Array): Promise<string>;
}

Implemented by

Properties

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

Get the public key from the wallet

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

Request the public key hash from the wallet

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

Transform WalletDelegateParams into a format compliant with the underlying wallet

mapFinalizeUnstakeParamsToWalletParams: ((params: (() => Promise<WalletFinalizeUnstakeParams>)) => Promise<any>)

Transform WalletFinalizeUnstakeParams into a format compliant with the underlying wallet

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

Transform WalletIncreasePaidStorageParams into a format compliant with the underlying wallet

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

Transform WalletOriginateParams into a format compliant with the underlying wallet

mapStakeParamsToWalletParams: ((params: (() => Promise<WalletStakeParams>)) => Promise<any>)

Transform WalletStakeParams into a format compliant with the underlying wallet

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

Transform WalletTransferParams into a format compliant with the underlying wallet

mapTransferTicketParamsToWalletParams: ((params: (() => Promise<WalletTransferTicketParams>)) => Promise<any>)

Transform WalletTransferTicketParams into a format compliant with the underlying wallet

mapUnstakeParamsToWalletParams: ((params: (() => Promise<WalletUnstakeParams>)) => Promise<any>)

Transform WalletUnstakeParams into a format compliant with the underlying wallet

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

Request the wallet to send an operation batch

Methods