Logo
Fireblocks API Documentation

Create leg (term)

POST {{baseUrl}}/smart-transfers/:ticketId/terms

Creates new smart transfer ticket term (when the ticket status is DRAFT)

 

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 Created

{ "message": "<string>", "data": { "id": "<string>", "ticketId": "<string>", "asset": "<string>", "amount": "<string>", "fromNetworkId": "<string>", "fromNetworkIdName": "<string>", "toNetworkId": "<string>", "toNetworkIdName": "<string>", "txHash": "<string>", "fbTxId": "<string>", "txStatus": "pendingAmlScreening", "status": "FUNDED", "createdAt": "<dateTime>", "updatedAt": "<dateTime>", "amountUsd": "<string>" } }



Curl
curl -X POST 'https://api.fireblocks.io/v1/smart-transfers/:ticketId/terms' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"asset":"\u003cstring\u003e","amount":"\u003cstring\u003e","fromNetworkId":"\u003cstring\u003e","toNetworkId":"\u003cstring\u003e"}'

ENDPOINTS