Prepares unsigned transactions for the transferTo method.
Example:
curl --request POST \
--url https://api.sandbox.brickken.com/prepare-transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
"method": "transferTo",
"signerAddress": "0xYourAddress",
"chainId": "aa36a7",
"tokenSymbol": "EXMPL",
"to": "0x8ba1f109551bD432803012645Hac136c",
"amount": "100"
}'
/prepare-transactions with method=transferTo.
| Parameter | Type | Required | Description |
|---|---|---|---|
signerAddress | string | Yes | Address that will sign the transaction |
chainId | string | Yes | Blockchain network identifier (hex format) |
method | string | Yes | Transaction method type (should be “transferTo”) |
tokenSymbol | string | Yes | Symbol of the token to transfer |
to | string | Yes | Address to transfer tokens to |
amount | string | Yes | Amount of tokens to transfer |