Create Asset Info
Changed onCreate asset infos in the Fordefi platform.
Request
- Base URLhttps://api.fordefi.com
- URLhttps://api.fordefi.com/api/v1/assets/asset-infos
- AuthHTTP bearer
Request body
Example request
{
"asset_identifier": {
"details": {
"token": {
"base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}
}
}
}Response
Successful Response
Example response
{
"asset_identifier": {
"chain": {
"native_currency_symbol": "ETH",
"native_currency_name": "Ether",
"blockchain_explorer": {
"transaction_url": "https://etherscan.io/tx/",
"address_url": "https://etherscan.io/address/",
"root_url": "https://etherscan.io/",
"transaction_format_url": "https://etherscan.io/tx/%s",
"address_format_url": "https://etherscan.io/address/%s",
"asset_format_url": "https://etherscan.io/address/%s"
}
}
}
}Changes
- breaking
the
/////request property's minLength was increased from0to1 - breaking
the
/////request property's minLength was increased from0to1 - breaking
the
//////request property's minLength was increased from70to71 - breaking
the
/////request property's minLength was increased from0to1 - breaking
the
////request property's minLength was increased from0to1 - breaking
the
////request property's minLength was increased from0to1 - breaking
the
//request property's minLength was increased from0to1 - breaking
added the pattern
^0[xX][a-fA-F0-9]+$to the request property///// - breaking
added the pattern
^[a-zA-Z0-9_-]+::12[a-fA-F0-9]{66}$to the request property////// - warning
the
/////request property's maxLength was set to66 - warning
the
////request property's max was set to18446744073709551616.00 - warning
the
////request property's min was set to0.00 - info
the
//////request property's maxLength was increased from251to255
- breaking
- info
added
ripplediscriminator mapping keys to therequest property - info
added to the
request propertyoneOflist
- info