Tradelink
Get the materialized Tradelink Network configuration of workspace
Successful response
Authorization not provided
Insufficient access
Internal server error
GET /rest/tradelink/network HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"custodian": {
"id": "text",
"settlement": [
{
"quorum": 1,
"userIds": [
"text"
]
}
],
"withdraw": [
{
"quorum": 1,
"userIds": [
"text"
]
}
],
"arbitration": [
{
"quorum": 1,
"userIds": [
"text"
]
}
]
},
"exchanges": [
{
"type": "ASSET_MANAGER",
"id": "text",
"tradelinkId": "text",
"groups": [
{
"quorum": 1,
"userIds": [
"text"
]
}
],
"whitelist": [
{
"name": "text",
"currency": "text",
"address": "text"
}
]
}
],
"assetManagers": [
{
"type": "ASSET_MANAGER",
"id": "text",
"tradelinkId": "text",
"groups": [
{
"quorum": 1,
"userIds": [
"text"
]
}
],
"whitelist": [
{
"name": "text",
"currency": "text",
"address": "text"
}
]
}
]
}Get the Tradelink network blueprint with all available Network configuration options
Successful response
Unique identifier of this network in Tradelink
^[a-z0-9]+$Authorization not provided
Insufficient access
Internal server error
GET /rest/tradelink/network/blueprint HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tradelinkId": "text",
"workspaceName": "text",
"custodian": {
"tradelinkId": "text",
"name": "text",
"code": "text",
"logoUrl": "text"
},
"assetManagers": [
{
"tradelinkId": "text",
"name": "text",
"code": "text",
"logoUrl": "text"
}
],
"exchanges": [
{
"tradelinkId": "text",
"name": "text",
"code": "text",
"logoUrl": "text"
}
]
}Get the Tradelink settlements for the workspace
Which page to fetch
1Page size to use
30Successful response
Current page
Next page or null if there is none
Previous page or null if there is none
Max count of items per page
Total count of items
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/tradelink/settlements HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"id": "text",
"pledgeId": "text",
"state": "REGISTERED",
"outboundTransactionHash": "text",
"accountId": "text",
"exchangeId": "text"
}
]
}Get a Tradelink settlement by its Id
Successful response
Settlement
Settlement ID
Pledge ID associated with the settlement
State of the settlement
Outbound transaction hash of the settlement
Account ID associated with the settlement
Exchange ID associated with the settlement
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/tradelink/settlements/{settlementId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"pledgeId": "text",
"state": "REGISTERED",
"outboundTransactionHash": "text",
"accountId": "text",
"exchangeId": "text"
}Last updated