Constructors

Methods

  • Type Parameters

    Parameters

    • address: string

      Smart contract address

    • contractAbstractionComposer: ((abs, context) => T) = ...

    Returns Promise<T>

    Description

    Create an smart contract abstraction for the address specified. Calling entrypoints with the returned smart contract abstraction will leverage the wallet provider to make smart contract calls

    Throws

    InvalidContractAddressError If the contract address is not valid

  • Returns {
        send: (() => Promise<IncreasePaidStorageWalletOperation>);
    }

    • send: (() => Promise<IncreasePaidStorageWalletOperation>)
        • (): Promise<IncreasePaidStorageWalletOperation>
        • Returns Promise<IncreasePaidStorageWalletOperation>

    Description

  • Parameters

    • option: PKHOption = {}

      Option to use while fetching the PK. If forceRefetch is specified the wallet provider implementation will refetch the PK from the wallet

    Returns Promise<string>

    Description

    Retrieve the PK of the account that is currently in use by the wallet

  • Parameters

    • option: PKHOption = {}

      Option to use while fetching the PKH. If forceRefetch is specified the wallet provider implementation will refetch the PKH from the wallet

    Returns Promise<string>

    Description

    Retrieve the PKH of the account that is currently in use by the wallet

  • Parameters

    Returns Promise<{
        bytes: string;
        signature: string;
        signedContent: {
            branch: string;
            contents: {
                arbitrary: string;
                kind: OpKind;
            }[];
        };
    }>

    Signature for a failing_noop

    Description

    failing_noop operation that is guaranteed to fail. DISCLAIMER: Not all wallets support signing failing_noop operations.

Generated using TypeDoc