ChainVault
  1. Transactions
ChainVault
  • ChainVault
  • Get Started
  • Authentication
  • Transactions
    • Submit Withdrawal
      POST
    • Get Transaction By ID
      GET
    • List Transactions
      GET
  • Wallet
  1. Transactions

Submit Withdrawal

Developing
POST
/api/v1/transactions/withdrawal
Maintainer:Ali Sivandiy
ParameterTypeRequiredDescription
fromAddressstringYesSender wallet address
toAddressstringYesRecipient wallet address
amountstringYesAmount to send (in smallest unit, e.g., wei)
networkNamestringYesBlockchain network name
typestringYesTransaction type (NATIVE_TRANSFER or TOKEN_TRANSFER)
tokenContractAddressstringConditionalRequired for TOKEN_TRANSFER
gasPricestringNoCustom gas price (in wei)
gasLimitstringNoCustom gas limit
notestringNoTransaction note or reference

Request

Body Params application/json
Examples

Responses

🟢201Created
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/transactions/withdrawal' \
--header 'Content-Type: application/json' \
--data-raw '{
    "toAddress": "0xeEC69E38B09C1aF5fd25627222F74EaDcb76De2f",
    "amount": "0.001",
    "networkName": "BSC_TESTNET",
    "priority": "medium",
    "process" : "COLD",
    "clientReference": "Withdrawal Request By At"
}'
Response Response Example
{
    "success": true,
    "message": "Withdrawal Submitted Successfully",
    "data": {
        "transactionId": "713d811d-4e75-46fd-b224-3d4a3a88e168",
        "status": "PENDING",
        "networkName": "BSC_TESTNET",
        "amount": "0.002",
        "process": "COLD"
    }
}
Modified at 2025-08-20 13:45:20
Previous
Authentication
Next
Get Transaction By ID
Built with