Skip to navigation

Create asset

Starts a create-asset operation and returns the freshly-materialized AssetResourceV2 in PENDING state. The asset becomes ACTIVE and its on-chain state populated once the underlying workflow completes; consumers should poll GetAssetV2 to observe progress. The CREATE operation itself is queryable via ListAssetOperationsV2.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
fromAddressIDstringOptionalformat: "uint64"
labelstringOptional
pricestringOptional
decimalsstringOptionalformat: "uint64"
paramsobjectOptional

AssetParamsV2 carries blockchain-specific params for asset creation. Exactly one branch must be set.

Response

A successful response.
idstringOptional
tenantIDstringOptionalformat: "uint64"
versionstringOptionalformat: "uint64"
createdAtdatetimeOptional
updatedAtdatetimeOptional
labelstringOptional
assetTypestringOptional
statusenumOptional

AssetViewStatusV2 is the high-level rollup status surfaced on AssetResourceV2.

Allowed values:
blockchainstringOptional
networkstringOptional
currencyIDstringOptional
Internal currency identifier this asset is registered under.
namestringOptional
Public summary fields. Always present, regardless of chain.
symbolstringOptional
decimalsstringOptionalformat: "uint64"
contractAddressstringOptional

On-chain contract or token identifier when applicable. Empty for chains where the concept doesn't exist.

attributeslist of objectsOptional
blockchainAssetobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error