Add an asset to a contract
POST {{baseUrl}}/contracts/:contractId/:assetId
Adds an asset to an existing contract.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Idempotency-Key
|
string | A 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-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"id": "<string>",
"status": "APPROVED",
"address": "<string>",
"balance": "<string>",
"lockedAmount": "<string>",
"tag": "<string>",
"activationTime": "<string>",
"additionalInfo": [
{
"accountHolderGivenName": "<string>",
"accountHolderSurname": "<string>",
"accountHolderCity": "<string>",
"accountHolderCountry": "<string>",
"accountHolderAddress1": "<string>",
"accountHolderAddress2": "<string>",
"accountHolderDistrict": "<string>",
"accountHolderPostalCode": "<string>",
"abaRoutingNumber": "<string>",
"abaAccountNumber": "<string>",
"abaCountry": "<string>",
"iban": "<string>",
"ibanCity": "<string>",
"ibanCountry": "<string>",
"speiClabe": "<string>",
"speiName": "<string>"
},
{
"accountHolderGivenName": "<string>",
"accountHolderSurname": "<string>",
"accountHolderCity": "<string>",
"accountHolderCountry": "<string>",
"accountHolderAddress1": "<string>",
"accountHolderAddress2": "<string>",
"accountHolderDistrict": "<string>",
"accountHolderPostalCode": "<string>",
"abaRoutingNumber": "<string>",
"abaAccountNumber": "<string>",
"abaCountry": "<string>",
"iban": "<string>",
"ibanCity": "<string>",
"ibanCountry": "<string>",
"speiClabe": "<string>" Curl curl -X POST 'https://api.fireblocks.io/v1/contracts/:contractId/:assetId' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"address":"\u003cstring\u003e","tag":"\u003cstring\u003e"}' ENDPOINTS |