Skip to content
docs

ChainTransfer

Defined in: history.ts:13

A token movement inside a transaction. token is the chain’s identifier (contract, mint, jetton master, TRC-20 contract); null = native coin.

amount: bigint

Defined in: history.ts:20

Amount in base units.


optional decimals?: number

Defined in: history.ts:25


from: string

Defined in: history.ts:16

Sender of the movement.


optional standard?: "erc20" | "erc721" | "erc1155" | "spl" | "token2022" | "jetton" | "trc20" | "nep141"

Defined in: history.ts:22

Token standard when known (erc20, spl, token2022, jetton, trc20, nep141). Native transfers leave it undefined.


optional symbol?: string

Defined in: history.ts:24

Symbol / decimals when the source already knows them (catalog or on-chain metadata); the kit fills the rest.


to: string

Defined in: history.ts:18

Receiver of the movement.


token: string | null

Defined in: history.ts:14


optional tokenId?: string

Defined in: history.ts:27

ERC-721 / ERC-1155 token id.