Skip to content

Create Send Transfer

This method sends a transfer from the account to another account.

shell
POST: {{endpoint}}/v1/transaction/send

Headers

KeyTypeValueDescription
x-api-keystringkey_xxxxxxxxxxxxxxxxxxxxAPI Key string
x-signaturestringSHA256The HMAC SHA256 signature.
x-timestampstring1730998051892Timestamp of the request

Request Body

KeyTypeDescription
chainstring(required) the chain-id
fromstring(required) the from address
tostring(required) the to address
amountstring(required) the amount
assetTypestring(required) the asset type, e.g. trc20
tokenAddressstring(required) the token address

Example Response

Success (HTTP 200)

JSON
// Body: raw (json)
{
  "chain": "tron",
  "from": "TY84oFnL1ikxLahzgRJJVzYQaMHWvxxxx",
  "to": "TBgda6sXa5PQEBQkzpXywV5sPE5bRxxxxx",
  "amount": "0.12",
  "assetType": "trc20",
  "tokenAddress": "TG3XXyExBkPp9nzdajDZsozEu4Bkaxxxxx"
}

Response Parameters

Response status: 200 OK

  • id: the id of the transaction
Example Response
json
{
  "data": {
    "id": "67348a6ec2c1494f450cxxxx"
  }
}
json
{
  "error": "Error message"
}
json
{
  "error": "Forbidden"
}