fungibletoken
Transfer From
Facilitates the transfer of ERC-20 tokens from one address to another using the ERC-20 allowance mechanism. It leverages the standard transferFrom function, enabling a spender (previously authorized by the token owner) to move tokens on the owner’s behalf.
💡 Compute Unit Value: 140 (Fixed)
post/defi/v1/fungibletoken/transferfrom
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/fungibletoken/transferfrom
- AuthAPI key in header X-API-Key
Request body
Example request
{
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"amount": "1000000000000000000",
"to": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gas": "100000",
"chainId": "1",
"chainSymbol": "ETH",
"receiver": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gasPriority": "low",
"enableFee": false,
"simulate": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
"to": "0x4B9eb6c0b6ea15176BBF62841C6B2A8a398cb656",
"value": "0",
"gas": "390000",
"data": "0x23b872dd000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e599400000000000000000000000056d2208efd27fe9c67e3879debce35833b9d4cc7000000000000000000000000000000000000000000000000000009184e72a000",
"referenceId": "ad4b0020353440d9bebc194695e204e1"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.