Cascade
Account

Submit Transfer

Transfer funds between subaccounts or users

POST
/account/transfer
accountFromstring

User whose balance is to be debited

accountTostring

User whose balance is to be credited

amountstring

Quantity to transfer (positive only)

expiresAtinteger

Prevents transfer from being processed after specified timestamp

Formatint64
Range0 <= value
feedIdstring

Market feed to transfer funds from (hex string, e.g. CASH feedId)

nonceinteger

Uniquely identifies the transfer per-account

Formatint64
Range0 <= value
signaturesarray<string>

Signatures of target (delegates forbidden)

subaccountIndexFrominteger

Subaccount to be debited

Formatint32
Range0 <= value
subaccountIndexTointeger

Subaccount to be credited

Formatint32
Range0 <= value
targetstring

User requesting the transfer

Response Body

application/json

text/plain

text/plain

text/plain

curl -X POST "https://matcher.cascade.xyz/account/transfer" \  -H "Content-Type: application/json" \  -d '{    "accountFrom": "string",    "accountTo": "string",    "amount": "string",    "expiresAt": 0,    "feedId": "string",    "nonce": 0,    "signatures": [      "string"    ],    "subaccountIndexFrom": 0,    "subaccountIndexTo": 0,    "target": "string"  }'
null
"Transfer amount exceeds available balance"
"Please add the JWT token to the header"
"Delegation not allowed for request"