Link an existing asset to a program.
program_id, the link happens automatically; this endpoint is for adding an asset to additional programs after initial creation.
Pass the asset’s id in the request body. The link is permanent for any asset that has ledger entries in the program. If no ledger entries exist, the asset can be unlinked. Attempting to link an asset that is already linked to the program returns an error.
API key passed in the X-API-Key header.
Program ID
Asset to link
ID of the asset to link
"550e8400-e29b-41d4-a716-446655440000"
Asset linked
When the asset was created
"2024-01-15T10:30:00Z"
Set when the asset is archived
Asset ID
"550e8400-e29b-41d4-a716-446655440000"
How balances are tracked
"SIMPLE"
How value is issued
"UNLIMITED"
Optional per-transaction ceiling. Null means no limit
"10000.00"
Asset name
"Bonus Points"
Programs this asset is linked to
["550e8400-e29b-41d4-a716-446655440001"]Decimal precision
2
Lifecycle state
"ACTIVE"
Short code for this asset
"PTS"
When the asset was last modified
"2024-01-15T10:30:00Z"