Estimate Fees
Retrieves real-time fee details for a given network. The response provides three priority levels: slow, standard, and fast. These levels help users choose a transaction fee based on their desired speed.
- HTTP request
- GET/networks/fees
- Authentication
-
Authentication Type Supported Organization User (CustomerEmployee) Yes Delegated User (EndUser) Yes Service Account Yes - Required permissions
- No permission required.
- Authorization requirements
-
Header Type Required Description Authorizationstring Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token. - Query parameters
-
Parameter Type Required Description network enum string Yes Identifies the network for which fees are estimated. Supported values include Bitcoin, BitcoinSignet, BitcoinTestnet3, ArbitrumOne, ArbitrumSepolia, ArcTestnet, AvalancheC, AvalancheCFuji, Base, BaseSepolia, Bob, BobSepolia, Bsc, BscTestnet, Berachain, BerachainBepolia, Celo, CeloAlfajores, Codex, CodexSepolia, Ethereum, EthereumClassic, EthereumClassicMordor, EthereumSepolia, EthereumHolesky, EthereumHoodi, FantomOpera, FantomTestnet, FlareC, FlareCCoston2, FlowEvm, FlowEvmTestnet, Ink, InkSepolia, Optimism, OptimismSepolia, Plasma, PlasmaTestnet, Plume, PlumeSepolia, Polygon, PolygonAmoy, Race, RaceSepolia, TempoAndantino, Tsc, TscTestnet1. - Request body
-
curl --request GET \ --url https://api.digitalassets.ibm.com/networks/fees \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Example response:
{ "kind": "Bitcoin", "network": "Bitcoin", "blockNumber": 123, "slow": { "feeRate": "<string>", "blockHorizon": 123 }, "standard": { "feeRate": "<string>", "blockHorizon": 123 }, "fast": { "feeRate": "<string>", "blockHorizon": 123 } }