Mempool

Mempool Average Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/fees_average_relative

Mempool Average Relative Fee

get

The mean relative fee of transactions waiting in the mempool. The relative fee is calculated as the total transaction fees divided by the transacion size (in vByte). High relative fees give an indication of transaction urgency as miners do not consider total transaction fee but fee per size, as the total fee they can collect is limited by the block space.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/fees_average_relative HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 5.96874754018258
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":5.968747540182545}]

Mempool Median Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/fees_median_relative

Mempool Median Relative Fee

get

The median relative fee of transactions waiting in the mempool. The relative fee is calculated as the total transaction fees divided by the transacion size (in vByte). High relative fees give an indication of transaction urgency as miners do not consider total transaction fee but fee per size, as the total fee they can collect is limited by the block space.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/fees_median_relative HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 3
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":3}]

Mempool Total Amount of Coins

GET https://api.glassnode.com/v1/metrics/mempool/txs_value_sum

Mempool Total Amount of Coins

get

The total amount of coins in transactions waiting in the mempool.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
cstringOptional

currency - native, usd

timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_value_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 1917.05927253
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

c

string

currency - native, usd

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":1917.05927253}]

Mempool Total Amount of Coins by Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/txs_value_distribution

Mempool Total Amount of Coins by Relative Fee

get

The total amount of coins in transactions waiting in the mempool in different relative fee (Sat / vByte) cohorts.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
cstringOptional

currency - native, usd

timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_value_distribution HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "o": {
      "0_1": 0.03365374,
      "10_50": 441.3945484,
      "1_2": 199.93676128,
      "2_3": 117.10264466,
      "3_4": 415.10095063,
      "4_5": 224.06536858,
      "50_plus": 4.86250099,
      "5_7": 39.87490442,
      "7_10": 474.68793983
    }
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

c

string

currency - native, usd

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"o":{"0_1":0.03365374,"10_50":441.3945484,"1_2":199.93676128,"2_3":117.10264466,"3_4":415.10095063,"4_5":224.06536858,"50_plus":4.86250099,"5_7":39.87490442,"7_10":474.68793983}}]

Mempool Total Amount of Fees

GET https://api.glassnode.com/v1/metrics/mempool/fees_sum

Mempool Total Amount of Fees

get

The total amount of fees of transactions waiting in the mempool.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
cstringOptional

currency - native, usd

timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/fees_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 0.66844186
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

c

string

currency - native, usd

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":0.66844186}]

Mempool Total Amount of Fees by Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/fees_distribution

Mempool Total Amount of Fees by Relative Fee

get

The total amount of fees of transactions waiting in the mempool in different relative fee (Sat / vByte) cohorts.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
cstringOptional

currency - native, usd

timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/fees_distribution HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "o": {
      "0_1": 0.00000466,
      "10_50": 0.012591370000000001,
      "1_2": 0.52064063,
      "2_3": 0.10488384,
      "3_4": 0.00891522,
      "4_5": 0.00081713,
      "50_plus": 0.00627894,
      "5_7": 0.00432608,
      "7_10": 0.00998399
    }
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

c

string

currency - native, usd

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"o":{"0_1":0.00000466,"10_50":0.012591370000000001,"1_2":0.52064063,"2_3":0.10488384,"3_4":0.00891522,"4_5":0.00081713,"50_plus":0.00627894,"5_7":0.00432608,"7_10":0.00998399}}]

Mempool Transaction Count

GET https://api.glassnode.com/v1/metrics/mempool/txs_count_sum

Mempool Transaction Count

get

The total number of transactions waiting in the mempool.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_count_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 79046
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":79046}]

Mempool Transaction Count by Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/txs_count_distribution

Mempool Transaction Count by Relative Fee

get

The total number of transactions waiting in the mempool in different relative fee (Sat / vByte) cohorts.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_count_distribution HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "o": {
      "0_1": 2,
      "10_50": 430,
      "1_2": 70992,
      "2_3": 6054,
      "3_4": 802,
      "4_5": 87,
      "50_plus": 22,
      "5_7": 126,
      "7_10": 531
    }
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"o":{"0_1":2,"10_50":430,"1_2":70992,"2_3":6054,"3_4":802,"4_5":87,"50_plus":22,"5_7":126,"7_10":531}}]

Mempool Transactions Size

GET https://api.glassnode.com/v1/metrics/mempool/txs_size_sum

Mempool Transactions Size

get

The total size (denoted in virtual bytes) of all transactions waiting in the mempool.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_size_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "v": 42986332
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"v":42986332}]

Mempool Transactions Size by Relative Fee

GET https://api.glassnode.com/v1/metrics/mempool/txs_size_distribution

Mempool Transactions Size by Relative Fee

get

The size of all transactions (denoted in virtual bytes) waiting in the mempool in different relative fee (Sat / vByte) cohorts.

View in Studio

Authorizations
Query parameters
astringRequired

asset id - BTC

sintegerOptional

since, unix timestamp

uintegerOptional

until, unix timestamp

istringOptional

frequency interval - 10m, 1h, 24h

fstring · enumOptional

format - csv, json

Default: jsonPossible values:
timestamp_formatstring · enumOptional

timestamp format - unix or humanized (RFC 3339)

Default: unixPossible values:
Responses
200
Successful response
application/json
get
GET /v1/metrics/mempool/txs_size_distribution HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
  {
    "t": 1726790400,
    "o": {
      "0_1": 468,
      "10_50": 89843,
      "1_2": 37871812,
      "2_3": 4531891,
      "3_4": 271164,
      "4_5": 19032,
      "50_plus": 3578,
      "5_7": 75972,
      "7_10": 122572
    }
  }
]

Query Parameters

Name
Type
Description

a*

string

asset id - BTC

s

integer

since, unix timestamp

u

integer

until, unix timestamp

i

string

frequency interval - 10m, 1h, 24h

f

string

format - csv, json

timestamp_format

string

timestamp format - unix or humanized (RFC 3339)

[{"t":1726790400,"o":{"0_1":468,"10_50":89843,"1_2":37871812,"2_3":4531891,"3_4":271164,"4_5":19032,"50_plus":3578,"5_7":75972,"7_10":122572}}]

Last updated