Transactions
This endpoint retrieves transactions included in a ledger identified by a given ledger index.
Request
GET /api/v1/ledger/{LEDGER_INDEX}/transactions
Example
curl https://api.xrpscan.com/api/v1/ledger/80000000/transactions
Response
[
{
"TakerPays": {
"currency": "CNY",
"issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y",
"value": 3278400
},
"TakerGets": {
"value": 1000000000000,
"currency": "XRP"
},
"meta": {
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"NFTokenOffers": [],
"Account": "rhhh49pFH96roGyuC4E5P4CHaNjS1k8gzM",
"Fee": 15,
"Flags": 0,
"LastLedgerSequence": 80000002,
"OfferSequence": 25577103,
"Sequence": 25577104,
"SigningPubKey": "03B51A3EDF70E4098DA7FB053A01C5A6A0A163A30ED1445F14F87C7C3295FCB3BE",
"TransactionType": "OfferCreate",
"TxnSignature": "3045022100C8D2CF74DFD1E5029AB0F3BD6469374F4658BFA6A93132167EB16864C6AEC4BE022074219E9C87A651883C98B40329EF546912A33F478C3F6FBE9BFE838AF4667319",
"hash": "0BE1E6647EE9D851880706B1F1229F0CF21ADF3CD53AAB1BCD1408C68F899C28",
"ledger_index": 80000000,
"date": "2023-05-24T18:38:51.000Z",
"Signers": [],
"AccountName": null,
"DestinationName": null,
"AmendmentName": null,
"SigningPubKeyAccount": "rhhh49pFH96roGyuC4E5P4CHaNjS1k8gzM"
},
{
"Amount": {
"value": 35724138,
"currency": "XRP"
},
"meta": {
"delivered_amount": {
"value": 35724138,
"currency": "XRP"
},
"TransactionIndex": 23,
"TransactionResult": "tesSUCCESS"
},
"NFTokenOffers": [],
"Account": "rNU4eAowPuixS5ZCWaRL72UUeKgxcKExpK",
"Destination": "rCoinaUERUrXb1aA7dJu8qRcmvPNiKS3d",
"DestinationTag": 1628386574,
"Fee": 3000,
"Flags": 0,
"LastLedgerSequence": 80000013,
"Sequence": 71192568,
"SigningPubKey": "02750F6E5C9BEDA0B47748CCB0BB3013D7FB48443C6A6420405AB2BC578A22B8DC",
"TransactionType": "Payment",
"TxnSignature": "304402204CEF2D362BE2E32A381B849D3FA22813F276D393089719472C12CD7CEB09B6E60220489F5A43807E990205464BABFB9FDB61E6AB88A9AFE63E9B4056729F0038EC00",
"hash": "537532D3E7B84D069E8C2C3C7A7E8F30DD2614C644743B70F9743FCFCF58F6F8",
"ledger_index": 80000000,
"date": "2023-05-24T18:38:51.000Z",
"Signers": [],
"AccountName": {
"name": "Binance",
"desc": "10",
"account": "rNU4eAowPuixS5ZCWaRL72UUeKgxcKExpK",
"domain": "binance.com",
"twitter": "binance"
},
"DestinationName": {
"name": "CoinPayments",
"desc": "1",
"account": "rCoinaUERUrXb1aA7dJu8qRcmvPNiKS3d",
"domain": "coinpayments.net",
"twitter": "CoinPaymentsNET",
"verified": true
},
"AmendmentName": null,
"SigningPubKeyAccount": "rNU4eAowPuixS5ZCWaRL72UUeKgxcKExpK"
},
...
]
Last updated