api for crypto app code example
Example: crypto.com api
{
"id": 11,
"method": "private/get-account-summary",
"params": {
"currency": "MCO"
},
"nonce": 1587523073344
}
// OR (for all currencies, omit currency, but ensure params still exists as {})
{
"id": 11,
"method": "private/get-account-summary",
"params": {},
"nonce": 1587523073344
}