Constructors

Methods

  • Type Parameters

    Parameters

    Returns Promise<T>

    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

    InvalidContractAddressError If the contract address is not valid

  • Parameters

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

    a IncreasePaidStorageWalletOperation promise object when followed by .send()

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

    Increase the paid storage of a smart contract.

  • 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>

    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>

    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

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