Get /tokens
path
/trade/tokens
params
Name
type
need
Description
chainId
string
√
type
string
√
cross or swap
page
number
size
number
fromChainId
string
the chainId of the source chain, Optional
result
//the token without price,amount,chainName
type Response = {
errno: number,
message: string,
data: {
count: number,
page: number,
size: number,
items: Token[]
}
}
Last updated