For the complete documentation index, see llms.txt. This page is also available as Markdown.

Token methods

Here we will view the token related methods. Some of the methods right now are deprecated and should not be used outside testnet.

Relevant types

export interface TokenType {
    args: string;
    codeHash: string;
    hashType: string;
}

export interface TokenAmount {
    type: TokenType;
    amount: number;
}

export declare enum AddressType {
    Receiving = 0,
    Change = 1
}

export enum FeeRate {
    SLOW = 1000,
    NORMAL = 100000,
    FAST = 10000000,
}

Token methods

Deprecated methods

Last updated