Register an asset

POST {{baseUrl}}/assets

Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR - Solana

Request Body

{"blockchainId"=>"<string>", "address"=>"<string>", "symbol"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Idempotency-KeystringA unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;legacyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;assetClass&quot;:&quot;FT&quot;,&quot;onchain&quot;:{&quot;symbol&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;decimals&quot;:&quot;\u003cnumber\u003e&quot;,&quot;address&quot;:&quot;\u003cstring\u003e&quot;,&quot;standard&quot;:&quot;\u003cstring\u003e&quot;},&quot;metadata&quot;:{&quot;scope&quot;:&quot;Global&quot;,&quot;deprecated&quot;:&quot;\u003cboolean\u003e&quot;}}