Prepares unsigned transactions for the transferFrom 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": "transferFrom",
"signerAddress": "0xYourAddress",
"chainId": "aa36a7",
"tokenSymbol": "EXMPL",
"from": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b",
"to": "0x8ba1f109551bD432803012645Hac136c",
"amount": "100"
}'
/prepare-transactions with method=transferFrom.
| 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 “transferFrom”) |
tokenSymbol | string | Yes | Symbol of the token to transfer |
from | string | Yes | Source address for the transfer |
to | string | Yes | Destination address for the transfer |
amount | string | Yes | Amount of tokens to transfer |