cAssetLimits
Returns Counterparty limits by asset snapshot
POST api/cAssetLimits
{}[
[
1, // Counterparty id
"BTC", // Asset name
100000000, // Gross limit
"BTC", // Limit currency
null, // CP's gross limit
null, // CP's gross limit currency
],
[
1, // Counterparty id
"USD", // Asset name
15000000000, // Gross limit
"EUR", // Limit currency
null, // CP's gross limit
null, // CP's gross limit currency
],
[
2, // Counterparty id
"BTC", // Asset name
100000000, // Gross limit
"BTC", // Limit currency
15000000000, // CP's gross limit
"USD", // CP's gross limit currency
]
]{
"error": 2
}Request parameters
counterpartyId
Efx::ClientId
Optional. Returns limits by asset for specified counterparty. Returns limits by asset for all counterparties otherwise.
filter
string
Optional field for master accounts only (FM Liquidity Match). - absent or "all": returns all asset limits - "subaccounts": returns all asset limits with sub-accounts - "external": returns all asset limits with external counterparties
Response description
Array of cAssetLimits
Array of counterparty asset limits
cAssetLimit
Array[6]
0
Efx::ClientId
Counterparty Id
1
string
Asset for which the limit is set
2
Efx::Size
Gross limit
3
string
Limit value currency
4
Efx::Size
Counterparty’s gross limit. May be null.
5
string
CP’s limit value currency. May be null.
Last updated