Mempool

Endpoints related to Bitcoin Mempool & UTXOs.

Endpoints' API-Key-Tier availabilities are written for each endpoint.

To use on testnet4/signet, use your current api-key and send the request to https://testnet.api.bestinslot.xyz / https://signet_api.bestinslot.xyz

Get All UTXOs of Bitcoin Wallet

Included in: Pro, Dedicated

GET https://api.bestinslot.xyz/v3/mempool/all_utxos_of_wallet

Returns all UTXOs of a given wallet with inscription and runes information.

Sample query: https://api.bestinslot.xyz/v3/mempool/all_utxos_of_wallet?wallet_addr=bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn

NOTE: Unconfirmed UTXOs block_height is returned as null

Query Parameters

NameTypeDescription

wallet_addr*

string

Bitcoin wallet address

{
    "data": [
        {
            "txid": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446",
            "vout": 0,
            "block_height": 803100,
            "value": 9109,
            "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
            "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
            "script_type": "witness_v0_keyhash",
            "inscription_ids": [
                "b3521d61a5cfdb80c4957cf7e4ce6c7f3e263b8baba05c787f003f17cacef97bi0"
            ],
            "satpoints": [
                "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0:0"
            ],
            "rune_ids": null,
            "amounts": null,
            "txfee": null,
            "vsize": null,
            "utxo": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0"
        },
        {
            "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
            "vout": 1,
            "block_height": null,
            "value": 546,
            "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
            "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
            "script_type": "witness_v0_keyhash",
            "inscription_ids": null,
            "satpoints": null,
            "rune_ids": [
                "840000:3"
            ],
            "amounts": [
                "209286845"
            ],
            "txfee": "1274",
            "vsize": 253,
            "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:1"
        },
        ...
    ],
    "block_height": 863641
}

Get Cardinal UTXOs of Bitcoin Wallet

Included in: Pro, Dedicated

GET https://api.bestinslot.xyz/v3/mempool/cardinal_utxos_of_wallet

Returns cardinal UTXOs of a given wallet.

Sample query: https://api.bestinslot.xyz/v3/mempool/cardinal_utxos_of_wallet?wallet_addr=bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn

NOTE: Unconfirmed UTXOs block_height is returned as null

Query Parameters

NameTypeDescription

wallet_addr*

string

Bitcoin wallet address

{
    "data": [
        {
            "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
            "vout": 3,
            "block_height": 863642,
            "value": 61150,
            "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
            "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
            "script_type": "witness_v0_keyhash",
            "inscription_ids": null,
            "satpoints": null,
            "rune_ids": null,
            "amounts": null,
            "txfee": null,
            "vsize": null,
            "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:3"
        },
        ...
    ],
    "block_height": 863642
}

Get Ordinal UTXOs of Bitcoin Wallet

Included in: Pro, Dedicated

GET https://api.bestinslot.xyz/v3/mempool/ordinal_utxos_of_wallet

Returns ordinal UTXOs of a given wallet with inscription.

Sample query: https://api.bestinslot.xyz/v3/mempool/ordinal_utxos_of_wallet?wallet_addr=bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn

NOTE: Unconfirmed UTXOs block_height is returned as null

Query Parameters

NameTypeDescription

wallet_addr*

string

Bitcoin wallet address

{
    "data": [
        {
            "txid": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446",
            "vout": 0,
            "block_height": 803100,
            "value": 9109,
            "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
            "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
            "script_type": "witness_v0_keyhash",
            "inscription_ids": [
                "b3521d61a5cfdb80c4957cf7e4ce6c7f3e263b8baba05c787f003f17cacef97bi0"
            ],
            "satpoints": [
                "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0:0"
            ],
            "rune_ids": null,
            "amounts": null,
            "txfee": null,
            "vsize": null,
            "utxo": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0"
        },
        ...
    ],
    "block_height": 863642
}

Get Runic UTXOs of Bitcoin Wallet

Included in: Pro, Dedicated

GET https://api.bestinslot.xyz/v3/mempool/runic_utxos_of_wallet

Returns runic UTXOs of a given wallet with runes information.

Sample query: https://api.bestinslot.xyz/v3/mempool/runic_utxos_of_wallet?wallet_addr=bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn

NOTE: Unconfirmed UTXOs block_height is returned as null

Query Parameters

NameTypeDescription

wallet_addr*

string

Bitcoin wallet address

{
    "data": [
        {
            "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
            "vout": 1,
            "block_height": 863642,
            "value": 546,
            "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
            "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
            "script_type": "witness_v0_keyhash",
            "inscription_ids": null,
            "satpoints": null,
            "rune_ids": [
                "840000:3"
            ],
            "amounts": [
                "209286845"
            ],
            "txfee": null,
            "vsize": null,
            "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:1"
        },
        ...
    ],
    "block_height": 863642
}

Get Cardinal Balance of Bitcoin Wallet

Included in: Pro, Dedicated

GET https://api.bestinslot.xyz/v3/mempool/cardinal_balance_of_wallet

Returns cardinal balance of a given wallet.

Sample query: https://api.bestinslot.xyz/v3/mempool/cardinal_balance_of_wallet?wallet_addr=bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn

Query Parameters

NameTypeDescription

wallet_addr*

string

Bitcoin wallet address

{
    "data": {
        "total_unused_confirmed_balance": "61150",
        "total_unused_unconfirmed_balance": "0"
    },
    "block_height": 863642
}

Last updated