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

    Type Alias UptoTronAuthorization

    Authorization metadata for a TRON TRC-20 approve transaction.

    Contains all information needed to verify the approval without parsing the signed transaction.

    type UptoTronAuthorization = {
        owner: string;
        spender: string;
        contractAddress: string;
        maxAmount: string;
        expiration: number;
        refBlockBytes: string;
        refBlockHash: string;
        timestamp: number;
    }
    Index

    Properties

    owner: string

    Token owner address (T-prefix base58check)

    spender: string

    Approved spender address - facilitator (T-prefix base58check)

    contractAddress: string

    TRC-20 contract address (T-prefix base58check)

    maxAmount: string

    Maximum approved amount in smallest units (as string for large numbers)

    expiration: number

    Transaction expiration timestamp (milliseconds since epoch)

    refBlockBytes: string

    Reference block bytes (hex string)

    refBlockHash: string

    Reference block hash (hex string)

    timestamp: number

    Transaction timestamp (milliseconds since epoch)