Fees
Overview
The Fees API provides information about the current transaction fee structure within the Ethos network.
Endpoints
Get Fee Information
Description: Retrieves the current fee structure for Ethos transactions, such as vouches. Fees are expressed in basis points, where 100 basis points equals 1%.
Authentication Required: No
Parameters
None
Responses
Success Response
Code: 200 OK
ok
boolean
Success status
data
object
Fee structure data
data.entryProtocolFeeBasisPoints
string
Protocol fee applied when entering a vouch transaction (in basis points)
data.entryDonationFeeBasisPoints
string
Donation fee applied when entering a vouch transaction (in basis points)
data.entryVouchersPoolFeeBasisPoints
string
Vouchers pool fee applied when entering a vouch transaction (in basis points)
data.exitFeeBasisPoints
string
Fee applied when exiting a vouch transaction (in basis points)
Error Response
Code: 500 Internal Server Error
Example
Request
Notes
Fee values are returned as strings with an 'n' suffix (e.g., "100n") to represent BigInt values.
Fee values are specified in basis points, where 100 basis points equals 1%.
The total fee for entry transactions is the sum of
entryProtocolFeeBasisPoints
,entryDonationFeeBasisPoints
, andentryVouchersPoolFeeBasisPoints
.These fees are primarily used when calculating transaction costs for vouches and other Ethos blockchain interactions.
Fee values are cached for 12 hours to reduce calls to the blockchain.
Last updated