Jump to
Ctrl
+
/

Estimate Transaction Smart Fee

GET
/blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee

Through this endpoint, customers can estimate the approximate fee per kilobyte needed for a transaction to begin confirmation within the confirmationTarget blocks when possible. After which it will return the number of blocks for which the estimate is valid.

Path Parameters

blockchain string Required

Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while network like "testnet" is a test network.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

confirmationTarget integer Optional

Integer representation of confirmation target in blocks that estimation will be valid for

estimateMode string Optional

String representation of the address

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2021-03-20
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
item object Required
confirmationTarget integer Required

Represents the confirmation target in blocks

2
feeRate string Required

Represents the Fee Rate value.

0.00001
unit string Required

Defines the fee unit.

BTC

Credits Cost : 1000 Credits for 1 Results

Was this page helpful?
Yes
No
Language
URL

{
    "apiVersion": "2021-03-20",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "confirmationTarget": 2,
            "feeRate": "0.00001",
            "unit": "BTC"
        }
    }
}