Get fees
Get the current fees (for EVM based chains: gasprice) for a certain chain.
Request Endpoint: reference
GET /api/transactions/{secretType}/fees
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
secretType | Body | The blockchain to query the gas fee for | String | ✅ |
Example Request:
GET https://api-wallet.venly.io/api/transactions/ETHEREUM/fees
Response Body:
{
"success": true,
"result": [
{
"gasPrice": 21450000000,
"defaultPrice": false
},
{
"gasPrice": 21450000000,
"defaultPrice": true
},
{
"gasPrice": 25300000000,
"defaultPrice": false
},
{
"gasPrice": 29700000000,
"defaultPrice": false
}
]
}
Updated 13 days ago