curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "1.0",
"id": "curltest",
"method": "estimatesmartfee",
"params": [6]
}'
Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible and return the number of blocks for which the estimate is valid. Uses virtual transaction size as defined in BIP 141 (witness data is discounted).
This method will use 10
Compute Units.
conf_target
- numeric, required
Confirmation target in blocks (1 - 1008)
estimate_mode
- string, optional, default=CONSERVATIVE
The fee estimate mode.
Whether to return a more conservative estimate which also satisfies a longer history. A conservative estimate potentially returns a higher feerate and is more likely to be sufficient for the desired target, but is not as responsive to short term drops in the prevailing fee market. Must be one of: “UNSET” “ECONOMICAL” “CONSERVATIVE”
Returns the status of one or all available indices currently running in the node.
This method will use 10
Compute Units.
index_name
- string, optional
Filter results for an index with a specific name.
Return information about the given bitcoin address.
This method will use 10
Compute Units.
address
- string, required
The bitcoin address to validate
Verify a signed message
This method will use 10
Compute Units.
address
- string, required
The bitcoin address to use for the signature.
signature
- string, required
The signature provided by the signer in base 64 encoding (see signmessage).
message
- string, required
The message that was signed.
Name | Type | Description |
---|---|---|
true | false
boolean
If the signature is verified or not.