@thruputchain/client
    Preparing search index...

    Module contracts

    Generated method and event descriptors for standard contracts shipped with the SDK.

    Method descriptors build typed invocations, decode views and root receipts, and expose declared exceptions. Event descriptors decode events, build named topic filters, and extract matching receipt events.

    Each interface nests its methods, argument and result types, and exceptions under the major version its entrypoints hash (ERC20.v0_1.transfer, ERC20.v0_1.TransferArgs). Named types, enum values, and event descriptors nest under the declaring crate and major (thruput_erc20_if.v0_1.error.ERC20Error, thruput_erc20_if.v0_1.events.TransferEvent). Select a major once and keep short calls from there.

    import { ERC20 as ERC20Versions } from "@thruputchain/client/contracts";

    const ERC20 = ERC20Versions.v0_1;
    const invocation = ERC20.transfer.invocation(tokenAddress, gasLimit, {
    receiver,
    amount: 1_000n,
    });

    Namespaces

    default_wallet
    DefaultWallet
    DevWallet
    ERC20
    ERC20Metadata
    ERC20Permit
    thruput_erc20_if
    thruput_erc20_permit_if

    Type Aliases

    ERC20Event

    Variables

    default_wallet
    DefaultWallet
    DefaultWalletSpec
    DevWallet
    DevWalletSpec
    ERC20
    ERC20Metadata
    ERC20Permit
    ERC20PermitSpec
    ERC20Spec
    thruput_erc20_if
    thruput_erc20_permit_if

    Functions

    decodeERC20Event

    References

    SignedOp → SignedOp
    SignedOpSpec → SignedOpSpec
    thruput_signed_op_if → thruput_signed_op_if