Ir al contenido
GET /v1/history

An account own chain of blocks (block-lattice)

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/nano-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/nano-api/v1/history" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nano-api/v1/history", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nano-api/v1/history");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/nano-api/v1/history",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 15,
        "source": "Nano",
        "account": "nano_1nanode8ngaakzbck8smq6ru9bethqwyehomf79sae1k7xd47dkidjqzffeg",
        "history": [
            {
                "hash": "44DF0057D33D38C317A35CF9F034B9189BAE031DE032B385E3F453E5FD5ED279",
                "time": "2021-02-22T22:55:19.000Z",
                "type": "send",
                "height": 52,
                "confirmed": true,
                "amount_nano": 1,
                "counterparty": "nano_3j834c8c83qtejze6wagothgjj7oq9p1dewgbpycy7dcq1ux1tb7qspinyx5"
            },
            {
                "hash": "DBC054BDCAB0C30980A06A5F698AD4F9001607E4480B37880D53E7DDF043D962",
                "time": "2021-02-22T22:55:19.000Z",
                "type": "receive",
                "height": 51,
                "confirmed": true,
                "amount_nano": 1.3886,
                "counterparty": "nano_17oc98sqccfqqfah8jggkziu8i6ar8biq7syxqcd6e1sagje11gts88gfj95"
            },
            {
                "hash": "27358427EE3E8AE5612BA12070CBAA4FD72994ED085DDC0397CE98AFC4FBE161",
                "time": "2019-12-17T20:06:00.000Z",
                "type": "receive",
                "height": 49,
                "confirmed": true,
                "amount_nano": 0,
                "counterparty": "nano_35qbo76yw138whnqmtbascunw3ooqfa1zgofz75cw65ikxa9ibyxoz36bx8t"
            },
            {
                "hash": "A4ADA0C72F40BD51AABCA716EDE673EF70BF1E2853E3F320A1E74A73824996ED",
                "time": "2019-12-17T20:05:58.000Z",
                "type": "receive",
                "height": 48,
                "confirmed": true,
                "amount_nano": 0,
                "counterparty": "nano_1o953as4bq4yeh5e4d48meiyhgxzi6qdusb87dawfdyd1qm655x4g5rk8di8"
            },
            {
                "hash": "2DE0A27C3C7DE24692B09D9E4E5E27548077BD673DC3799DC6080746AF986A83",
                "time": "2019-12-09T18:14:30.000Z",
                "type": "receive",
                "height": 47,
                "confirmed": true,
                "amount_nano": 0.004,
                "counterparty": "nano_3g3i5r8nge4g4bpq63977jsqpno1u7faojkd1u53mm8osqhm8xzyct7puwfz"
            },
            {
                "hash": "397EF2011D4A225BAB89E48118FE4FD3FD1429F73F08FD15CE6CC3D0C98A31EF",
                "time": "2019-12-09T18:14:30.000Z",
                "type": "receive",
                "height": 46,
                "confirmed": true,
                "amount_nano": 0.00102455,
                "counterparty": "nano_34prihdxwz3u4ps8qjnn14p7ujyewkoxkwyxm3u665it8rg5rdqw84qrypzk"
            },
            {
                "hash": "020A26E8094BD8213E2B5E196A242D8BAB05A8F667952A7B48E2CA4AC1DF0278",
                "time": "2019-12-09T18:14:21.000Z",
                "type": "receive",
                "height": 45,
                "confirmed": true,
                "amount_nano": 0.00104332,
                "counterparty": "nano_3x7cjioqahgs5ppheys6prpqtb4rdknk
…