chain
Create Fee Transaction
Initiates a fee-collection transaction on the blockchain, deducting a default or customizable basis-point fee from the sender. The response returns chain ID, addresses, gas limits, and nonce, ensuring proper verification of fee deductions and transfers.
💡 Compute Unit Value: 5 (Fixed)
post/defi/v1/chain/createfeetransaction
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/chain/createfeetransaction
- AuthAPI key in header X-API-Key
Request body
Example request
{
"chainId": "1",
"chainSymbol": "ETH",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"to": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gas": "100000",
"value": "10",
"data": "0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360",
"gasPrice": "10000",
"referenceId": "8eec8150896e4fdaa26d4d1a1338d676",
"simulate": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0xDdE53141420C90550e87dF0349D79B3a6161f6F6",
"to": "0x558D7be6092Ca91DA26521Ac25b982D883218E2d",
"value": "15961584451717",
"gas": "30000",
"nonce": 87
}
}Changes
No recorded changes to this operation across all 1 revision of this API.