T402 API Reference - v2.9.0
    Preparing search index...

    Module mechanisms/evm-core/src

    @t402/evm-core

    T402 EVM Core Types and Utilities

    This package provides EVM types, constants, and utilities with zero external dependencies (except for @t402/core). Use this package when you want to work with T402 EVM types without bundling viem.

    For full EVM functionality with viem integration, use @t402/evm instead.

    Interfaces

    TokenConfig

    Type Aliases

    Address
    Hex
    Bytes32
    ClientEvmSigner
    FacilitatorEvmSigner
    TokenType
    AssetTransferMethod
    NetworkTokenRegistry
    ExactEIP3009Payload
    ExactEvmPayloadV1
    ExactEvmPayloadV2
    ExactLegacyPayload
    ExactERC7710Payload
    PermitSignature
    PermitAuthorization
    UptoEIP2612Payload
    UptoEIP2612PayloadCompact
    UptoEvmPayloadV2
    UptoEvmExtra
    UptoEvmSettlement

    Variables

    authorizationTypes
    legacyAuthorizationTypes
    eip3009ABI
    erc20LegacyABI
    USDT0_ADDRESSES
    USDC_ADDRESSES
    USDT_LEGACY_ADDRESSES
    TOKEN_REGISTRY
    TOKEN_PRIORITY
    permitTypes

    Functions

    bytesToHex
    hexToBytes
    toClientEvmSigner
    toFacilitatorEvmSigner
    getTokenConfig
    getNetworkTokens
    getDefaultToken
    getTokenByAddress
    supportsEIP3009
    getTransferMethod
    tokenSupportsEip2612
    getNetworksForToken
    getUsdt0Networks
    getEIP712Domain
    isUptoEIP2612Payload
    getEvmChainId
    createNonce