interface AccountTransfersParams {
    account: string;
    cursor?: string;
    skip?: number;
    limit?: number;
    contract?: string;
    from?: string;
    to?: string;
    startBlock?: number;
    endBlock?: number;
    minTimestamp?: number;
    maxTimestamp?: number;
    tokenId?: string;
    sort?: string;
    transferType?: string;
}

Properties

account: string

Account address, it's like 0x672158893ce87d812befd2209bc1b7818fe48b2a

cursor?: string

A cursor to retrieve the next page

0
skip?: number

The number of skipped records, usually it's pageSize * (pageNumber - 1). Maximum 10000.

0
limit?: number

The number of records displayed on the page. Maximum 100.

10
contract?: string

Contract address, it's like 0x672158893ce87d812befd2209bc1b7818fe48b2a

from?: string

Account address, it's like 0x672158893ce87d812befd2209bc1b7818fe48b2a

to?: string

Account address, it's like 0x672158893ce87d812befd2209bc1b7818fe48b2a

startBlock?: number
endBlock?: number
minTimestamp?: number

Timestamp in seconds.

maxTimestamp?: number

Timestamp in seconds.

tokenId?: string

Token id. It's uint256 in solidity. Using string here.

sort?: string

Sort in ASC or DESC order by timestamp

DESC
transferType?: string

Query the transfer record of the address based on the specified transferType which includes

  1. Transaction

    1.1 'transaction'

  2. CFX Transfer

    2.1 'call'

    2.2 'create'

  3. Token Transfer

    3.1 'transfer_20'

    3.2 'transfer_721'

    3.3 'transfer_1155'