Currencies

Methods for listing and retrieving supported currencies in B2BINPAY DeFi API

Get list

get
Authorizations
x-api-keystringRequired

Provide API key in X-API-Key header

Query parameters
sortBystring · enumOptional

Field to sort by

Default: createdAtPossible values:
sortOrderstring · enumOptional

Sort order (ascending or descending)

Default: descPossible values:
symbolstringOptional

The symbol of the currency

Example: USDT
namestringOptional

The name of the currency

Example: Tether USD
chainIdinteger · int64Optional

Blockchain network chain ID

Example: 1
addressone ofOptional

The currency address, or null for coins

Example: 0xdac17f958d2ee523a2206206994597c13d831ec7
stringOptional
or
string · min: 1Optional
isNativeone ofOptional

Whether the currency is native

Example: true
booleanOptional
or
anyOptional
isScamone ofOptional

Whether the currency is scam

Example: false
booleanOptional
or
anyOptional
isVerifiedone ofOptional

Whether the currency is verified

Example: true
booleanOptional
or
anyOptional
Responses
get
/api/v1/public/currencies
200

Entity retrieved successfully

Get by ID

get
Authorizations
x-api-keystringRequired

Provide API key in X-API-Key header

Path parameters
idstringRequired

The unique ID of the currency, ("{chainId}-{contractAddress}")

Example: 1-0xdac17f958d2ee523a2206206994597c13d831ec7
Responses
get
/api/v1/public/currencies/{id}

Last updated

Was this helpful?