block

Get a Block

Method: POST

https://ada-index.nownodes.io/block

Body (raw)

{
  "network_identifier": {
    "blockchain": "cardano",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "1"
    }
  },
  "block_identifier": {
    "index": "10012029",
    "hash": "e0acfa1bff44b0d88b5655bd3beb1a5a85615972e2bbc8b05ae6541884fe2ed4"
  }
}

Response: 200

{
    "block": {
        "block_identifier": {
            "index": 10012029,
            "hash": "e0acfa1bff44b0d88b5655bd3beb1a5a85615972e2bbc8b05ae6541884fe2ed4"
        },
        "parent_block_identifier": {
            "index": 10012028,
            "hash": "543c5bd2cf16d5956ead311dbb1fea817c2db4ce9cefa330c54f4607c1db9ae9"
        },
        "timestamp": 1709543851000,
        "transactions": [
            {
                "transaction_identifier": {
                    "hash": "815b87298d883584accea753dce2a226d4e6a66345d6fc6014ddc2132889b6da"
                },
                "operations": [
                    {
                        "operation_identifier": {
                            "index": 0
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-2698200000",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "20a4f256a20a8a41036f2cbd1b099f658cda656f2e87e5716387e167d49298f9:23"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 1
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-9200000",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "8b141307125f2196a60919710ad0e574b611e80f6a8c5b4764b2775379a619f5:8"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 2
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-1123000000",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "d30c45821ef4e845ddc27fd387e54cdb9b1da1bfe79525da8f96e09e31da025c:0"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 3
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-543500000",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "da35f7642222278f6e0ea39e367d6baf9af8839aeb12fc903288e3f784b42027:12"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 4
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-2396901718",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "dd3b19a45817e91b9c870ba75dcbac88a9d79eb8e590ac92511e60d8364966b0:1"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 5
                        },
                        "type": "input",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "-3227273554",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "f1e021817cd409659ac2dd2e40fcaf65818276d08be44091570021a94d10f66f:1"
                            },
                            "coin_action": "coin_spent"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 6,
                            "network_index": 0
                        },
                        "related_operations": [
                            {
                                "index": 0
                            },
                            {
                                "index": 1
                            },
                            {
                                "index": 2
                            },
                            {
                                "index": 3
                            },
                            {
                                "index": 4
                            },
                            {
                                "index": 5
                            }
                        ],
                        "type": "output",
                        "status": "success",
                        "account": {
                            "address": "addr1q9et5yj7nuwl2h7vrf9h8pw5sgw8r5xak9a9ptv0krvswz9qvyhwj5gaqs2g76mfrtxnwm0uzgu0pc3eugp6k8qjg45q5g239u"
                        },
                        "amount": {
                            "value": "9900000000",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "815b87298d883584accea753dce2a226d4e6a66345d6fc6014ddc2132889b6da:0"
                            },
                            "coin_action": "coin_created"
                        }
                    },
                    {
                        "operation_identifier": {
                            "index": 7,
                            "network_index": 1
                        },
                        "related_operations": [
                            {
                                "index": 0
                            },
                            {
                                "index": 1
                            },
                            {
                                "index": 2
                            },
                            {
                                "index": 3
                            },
                            {
                                "index": 4
                            },
                            {
                                "index": 5
                            }
                        ],
                        "type": "output",
                        "status": "success",
                        "account": {
                            "address": "addr1q86n83ty9nj3npvxthsvjrld5nelys856pwucgzd0jznyhslykjgc90jwrx7c2smpky9z70ezkdtfrkhu5t85ylk9tvqte5unh"
                        },
                        "amount": {
                            "value": "97898557",
                            "currency": {
                                "symbol": "ADA",
                                "decimals": 6
                            }
                        },
                        "coin_change": {
                            "coin_identifier": {
                                "identifier": "815b87298d883584accea753dce2a226d4e6a66345d6fc6014ddc2132889b6da:1"
                            },
                            "coin_action": "coin_created"
                        }
                    }
                ],
                "metadata": {
                    "size": 473,
                    "scriptSize": 0
                }
            }
        ],
        "metadata": {
            "transactionsCount": 1,
            "createdBy": "Pool-fd2ce4f1b300eee8",
            "size": 475,
            "epochNo": 470,
            "slotNo": 117977560
        }
    }
}

Get a Block Transaction

Method: POST

https://ada-index.nownodes.io/block/transaction

Body (raw)

{
  "transaction_identifier": {
    "hash": "fe2f7e54dec511caf5c0a024ef1a48b04a05e978d9cb063c5ace2890c7f898e1"
  },
  "block_identifier": {
    "hash": "8b07c02ea926b3162913bc4c8382525e772248f0ab53ffc6bde14388c9c43183",
    "index": "9351245"
  },
  "network_identifier": {
    "sub_network_identifier": {
      "network": "1"
    },
    "network": "mainnet",
    "blockchain": "cardano"
  }
}

Response: 200

{
    "transaction": {
        "transaction_identifier": {
            "hash": "fe2f7e54dec511caf5c0a024ef1a48b04a05e978d9cb063c5ace2890c7f898e1"
        },
        "operations": [
            {
                "operation_identifier": {
                    "index": 0
                },
                "type": "input",
                "status": "success",
                "account": {
                    "address": "addr1v8v3auqmw0eszza3ww29ea2pwftuqrqqyu26zvzjq9dt2ncydzvs5"
                },
                "amount": {
                    "value": "-20688013",
                    "currency": {
                        "symbol": "ADA",
                        "decimals": 6
                    }
                },
                "coin_change": {
                    "coin_identifier": {
                        "identifier": "2c112712a2237f089333ca8a26b2e6c28d66f729ffe1bbc91b09225609b45f89:1"
                    },
                    "coin_action": "coin_spent"
                }
            },
            {
                "operation_identifier": {
                    "index": 1
                },
                "type": "input",
                "status": "success",
                "account": {
                    "address": "addr1v8v3auqmw0eszza3ww29ea2pwftuqrqqyu26zvzjq9dt2ncydzvs5"
                },
                "amount": {
                    "value": "-31393186",
                    "currency": {
                        "symbol": "ADA",
                        "decimals": 6
                    }
                },
                "coin_change": {
                    "coin_identifier": {
                        "identifier": "87e5575744c3203c7d80e200885c34f2ec24d00333df7fcac1d2aefe398e70d1:1"
                    },
                    "coin_action": "coin_spent"
                }
            },
            {
                "operation_identifier": {
                    "index": 2
                },
                "type": "input",
                "status": "success",
                "account": {
                    "address": "addr1vypr00ss7hkqejmvh53xkyf0p9q0a4z2uprxmx6njc463vgst3pe4"
                },
                "amount": {
                    "value": "-104136063",
                    "currency": {
                        "symbol": "ADA",
                        "decimals": 6
                    }
                },
                "coin_change": {
                    "coin_identifier": {
                        "identifier": "eb53ad865548cfd10db8913c0d9c7203a67bea8c3e7056d5bd1573aa7b9db128:1"
                    },
                    "coin_action": "coin_spent"
                }
            },
            {
                "operation_identifier": {
                    "index": 3,
                    "network_index": 0
                },
                "related_operations": [
                    {
                        "index": 0
                    },
                    {
                        "index": 1
                    },
                    {
                        "index": 2
                    }
                ],
                "type": "output",
                "status": "success",
                "account": {
                    "address": "addr1qypanugtzgtu00p2g3x6h084dl67pec829qeuut8qey9zkex5re6eypapzzva5y2r8en5z5c2954g9kg0nvzreg86kas7n588g"
                },
                "amount": {
                    "value": "133800000",
                    "currency": {
                        "symbol": "ADA",
                        "decimals": 6
                    }
                },
                "coin_change": {
                    "coin_identifier": {
                        "identifier": "fe2f7e54dec511caf5c0a024ef1a48b04a05e978d9cb063c5ace2890c7f898e1:0"
                    },
                    "coin_action": "coin_created"
                }
            },
            {
                "operation_identifier": {
                    "index": 4,
                    "network_index": 1
                },
                "related_operations": [
                    {
                        "index": 0
                    },
                    {
                        "index": 1
                    },
                    {
                        "index": 2
                    }
                ],
                "type": "output",
                "status": "success",
                "account": {
                    "address": "addr1vypr00ss7hkqejmvh53xkyf0p9q0a4z2uprxmx6njc463vgst3pe4"
                },
                "amount": {
                    "value": "22225289",
                    "currency": {
                        "symbol": "ADA",
                        "decimals": 6
                    }
                },
                "coin_change": {
                    "coin_identifier": {
                        "identifier": "fe2f7e54dec511caf5c0a024ef1a48b04a05e978d9cb063c5ace2890c7f898e1:1"
                    },
                    "coin_action": "coin_created"
                }
            }
        ],
        "metadata": {
            "size": 434,
            "scriptSize": 0
        }
    }
}

Last updated