Skip to main content
GET
/
api
/
v1
/
fees
/
onchain
Get on-chain fee rates
curl --request GET \
  --url https://api.example.com/api/v1/fees/onchain \
  --header 'Authorization: Bearer <token>'
{
  "fast_sat_per_vb": 1,
  "regular_sat_per_vb": 1,
  "slow_sat_per_vb": 1
}

Documentation Index

Fetch the complete documentation index at: https://second.tech/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Base64url-encoded auth token

Response

Returns current mempool fee rates

Mempool fee rates for on-chain transactions.

fast_sat_per_vb
integer<int64>
required

Fee rate targeting ~1 block confirmation (sat/vB)

Required range: x >= 0
regular_sat_per_vb
integer<int64>
required

Fee rate targeting ~3 block confirmation (sat/vB)

Required range: x >= 0
slow_sat_per_vb
integer<int64>
required

Fee rate targeting ~6 block confirmation (sat/vB)

Required range: x >= 0