Runes

Runes Address

curl -X POST https://mainnet.sandshrew.io/v1/<developer key> \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"runes_address",
    "params":[
      "bc1pwpd3dfvvsy2gcdc6du27wkzwl86pp50arycwzrh3r28a5g46fjfsluvsr9",
      "850100"
    ]
}'
Params

txid

Block Number (optional)

Response
{
    "id":1,
    "result":{
        "outpoints":[{
            "runes":[{
                "rune":{
                    "id":"840000:22",
                    "name":"SATOSHINAKAMOTO",
                    "spacedName":"SATOSHI•NAKAMOTO",
                    "divisibility":8,
                    "spacers":64,
                    "symbol":"0"
                },
                "balance":"20000000000"
            }],
            "outpoint":{
                "txid":"c34e5e524280afbf509d408d2e0a9e4cdad0348e761ae5ae3fbc2496",
                "vout":0
            },
            "output":{
                "value":"546",
                "script":"5120705b16a58c81148c371a6f15e7584ef9f410d1fd1930e10ef11a8fda22ba4c93"},
                "height":840163,
                "txindex":1308
            }],
            "balanceSheet":[{
                "rune":{"id":"840000:22",
                "name":"SATOSHINAKAMOTO",
                "spacedName":"SATOSHI•NAKAMOTO",
                "divisibility":8,
                "spacers":64,
                "symbol":"0"
            },
            "balance":"20000000000"
        }]
    },
    "jsonrpc":"2.0"
}

Runes Outpoint

curl -X POST https://mainnet.sandshrew.io/v1/<developer key> \
    -H 'Content-Type: application/json' \
    -d '{
        "jsonrpc":"2.0",
        "id":1,
        "method":"runes_outpoint",
        "params": [
            "47cf8cb7433237c361bc29a5b0eaa17f7459d0e8d4eb1aa281aa006004be76a5:1",
             "latest"
         ]
 }'
Params

txid:vout

Block Number (optional)

Response
{
    "id":1,
    "result":{
        "runes":[{
            "rune":{
                "id":"840303:3192",
                "name":"BITCOINHONEYBADGER",
                "spacedName":"BITCOIN•HONEY•BADGER",
                "divisibility":9,
                "spacers":2112,
                "symbol":"B"
            },
            "balance":"1000000000"
        }],
        "outpoint":{
            "txid":"47cf8cb7433237c361bc29a5b0eaa17f7459d0e8d4eb1aa281aa006004be76a5",
            "vout":1
        },
        "output":{
            "value":"546",
            "script":"51201ef4bb672ee1bc1014c72f7ead247e5e495a1c35ed61376ce1b68f1e1f99d400"
        },
        "height":840966,
        "txindex":2286
    },
    "jsonrpc":"2.0"
}

Last updated