tx_history
The tx_history
method retrieves some of the most recent transactions made.
Caution: This method is removed in API v2.
Request Format
An example of the request format:
{ "id": 5, "command": "tx_history", "start": 0 }
The request includes the following parameters:
Field | Type | Description |
---|---|---|
start | Unsigned Integer | Number of transactions to skip over. |
Response Format
An example of a successful response:
{ "id": 2, "status": "success", "type": "response", "result": { "index": 0, "txs": [ { "Account": "r9bf8V4ae5xReYnKPXgnwERDFPoW34FhGy", "Fee": "12", "Flags": 2147483648, "LastLedgerSequence": 6907169, "Sequence": 3276, "SigningPubKey": "03B7857216DF96BABCC839686670A67602B3EE50D0F12B41C15F73760B8ED394C1", "TransactionType": "AccountSet", "TxnSignature": "3045022100CC0A2688DC36DC47BDBD5A571407316DD16A6CB3289E60C9589531707D30EBDB022010A2ED1F8562FEF61461B89E90E9D7245F5DD1AAE6680401A60F7FDA60184312", "hash": "30FF69D2F2C2FF517A82EC8BA62AA4879E27A6EAF2C9B4AA422B77C23CD11B35", "inLedger": 6907162, "ledger_index": 6907162 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "Sequence": 1479735, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": "9999999999", "TakerPays": { "currency": "USD", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "48.050907917" }, "TransactionType": "OfferCreate", "TxnSignature": "3045022100C110F47609CED085E0C184396877685ACAFF0A5846C859E9A57A8E238788FAE2022042A578D36F3D911E2536A39D74B10A741EF4C77B40738DB66E9E4FA85B797DF2", "hash": "A5DE72E2E97CB0FA548713FB7C8542FD1A9723EC556D386F13B25F052435B29F", "inLedger": 6907162, "ledger_index": 6907162 }, { "Account": "r9bf8V4ae5xReYnKPXgnwERDFPoW34FhGy", "Fee": "12", "Flags": 2147483648, "LastLedgerSequence": 6907169, "Sequence": 3275, "SigningPubKey": "03B7857216DF96BABCC839686670A67602B3EE50D0F12B41C15F73760B8ED394C1", "TransactionType": "AccountSet", "TxnSignature": "3044022030E4CCDCBA8D9984C16AD9807D0FE654D4C558C08728B33A6D9F4D05DA811CF102202A6B53015583A6C24054EE93D9B9DDF0D17133676848304BBA5156DD2C2875BE", "hash": "55DFC8F7EF3976B5968DC462D91B29274E8097C35D43D6B3740AB20584336A9C", "inLedger": 6907162, "ledger_index": 6907162 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 131072, "Sequence": 1479734, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": { "currency": "BTC", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "0.009194668" }, "TakerPays": "1073380944", "TransactionType": "OfferCreate", "TxnSignature": "304402202C0D26EABE058FCE8B6862EF5CAB70674637CE32B1B4E2F3551B9D5A2E1CDC7E02202C191D2697C65478BC2C1489721EB5799A6F3D4A1ECD8FE87A0C4FDCA3704A03", "hash": "2499BAE9947BE731D7FE2F8E7B6A55E1E5B43BA8D3A9F22E39F79A0CC027A1C8", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 131072, "Sequence": 1479733, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": { "currency": "USD", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "5.298037873" }, "TakerPays": { "currency": "BTC", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "0.008937558999999999" }, "TransactionType": "OfferCreate", "TxnSignature": "3044022075EF6054ABD08F9B8287314AD4904944A74A6C3BBED9D035BCE7D409FC46E49E022025CFEE7F72BEC1F87EA83E3565CB653643A57CDD13661798D6B70F47AF63FDB6", "hash": "F873CB065791DDD503580931A500BB896B9DBAFC9C285C1159B884354F3EF48B", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479726, "Sequence": 1479732, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "3045022100E82B813DA3896051EAAA3D53E197F8F426DF4E51F07A2AB83E43B10CD4008D8402204D93BABA74E63E775D44D77F4F9B07D69B0C86930F2865BBBBD2DC956FA8AE4E", "hash": "203613CFA3CB7BFBCFABBBCF80D932DFBBFDECCBB869CCDBE756EAA4C8EEA41D", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479725, "Sequence": 1479731, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "30440220678FF2E754A879EAE72207F191614BBA01B8088CD174AF509E9AA11448798CD502205B326E187A0530E4E90BDD1ED875492836657E4D593FBD655F64604178693D2F", "hash": "1CF4D0D583F6FC85BFD15A0BEF5E4779A8ACAD0DE43823F07C9CC2A20E29E422", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479724, "Sequence": 1479730, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "3045022100A5533E81A67B6A88B674864E898FDF31D83787FECE496544EBEE88E6FC220500022002438599B2A0E4F70C2B46FB049CD339F76E466399CA4A8F72C4ADA03F615D90", "hash": "D96EC06F2ADF3CF7ED59BD76B8F1BDB127CDE46B45977B477703DB05B8DF5208", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479723, "Sequence": 1479729, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "304402206DEF8C70103AE45BCED6762B238E6F155A57D46300E8FF0A1CD0197362483CAE022007BBDFD93A0BC2473EE4537B44095D1BB5EB83F76661A14230FB3B27C4EABB6D", "hash": "089D22F601FB52D0E55A8E27D393F05570DC24E92028BB9D9DCAD7BC3337ADF9", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479722, "Sequence": 1479728, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "3044022065051B7240DE1D46865453B3D7F8FC59FB2B9FD609196AB394F857B75E2B8409022044683F3A35740FC97655A8A4516184D8C582E5D88CA360301B1AD308F4126763", "hash": "F6A660EF99E32D02B9AF761B14993CA1ED8BAF3507F580D90A7759ABFAF0284E", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rUBLCjWdsPPMkppdFXVJWhHnr3FNqCzgG3", "Fee": "15", "Flags": 0, "LastLedgerSequence": 6907168, "Sequence": 173286, "SigningPubKey": "03D606359EEA9C0A49CA9EF55F6AED6C8AEDDE604223C1BE51A2D0460A725CF173", "TakerGets": { "currency": "BTC", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "0.44942631" }, "TakerPays": { "currency": "USD", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "260" }, "TransactionType": "OfferCreate", "TxnSignature": "304502205395AF4127AD0B890AC9C47F765B4F4046C70C3DFC6F8DCD2729552FAA97F13C022100C8C2DBA6A466D76D0F103AC88DB166D1EC7F6339238E2C4245C2C26308B38058", "hash": "F20F06F36B5FEFF43DD1E8AEDBE9A0ECEF0CE41402AE6F0FE4BEE1F2F82A4D54", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rDVynssGDojUPpM4abx9rxYeHG4HiLGxC", "Fee": "15", "Flags": 2147483648, "LastLedgerSequence": 6907169, "OfferSequence": 859, "Sequence": 860, "SigningPubKey": "02C37DA8D793142BD190CE13BB697521A89D1DC318A045816EE657F42527EBFC4E", "TakerGets": "19871628459", "TakerPays": { "currency": "BTC", "issuer": "rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX", "value": "0.166766470665369" }, "TransactionType": "OfferCreate", "TxnSignature": "3044022074737D253A0DB39DBB6C63E5BD522C1313CC57658B0A567E1F1DD3414DA3817502201F333D81F29845C53A0271D0C5B005DEE4A250529DAD1A880838E242D358EE35", "hash": "AD197326AEF75AA466F32FEA87358C9FB587F1C1ABF41C73E2C3EFDD83B6F33B", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "OfferSequence": 1479721, "Sequence": 1479727, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TransactionType": "OfferCancel", "TxnSignature": "3045022100CCD7336F78291E1BCAA4F86695119175E0DBC26281B2F13B30A24C726419DFCA022062547E0A4894CEAE87C42CABA94E0731134560F07D8860AE62F4A87AFD16BC43", "hash": "20353EA4152C32E63941DE2F3175BA69657BA9FAB39D22BCE38B6CA1B3734D4B", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "r9bf8V4ae5xReYnKPXgnwERDFPoW34FhGy", "Fee": "12", "Flags": 2147483648, "LastLedgerSequence": 6907168, "Sequence": 3274, "SigningPubKey": "03B7857216DF96BABCC839686670A67602B3EE50D0F12B41C15F73760B8ED394C1", "TransactionType": "AccountSet", "TxnSignature": "3045022100F8412BBB1DB830F314F7400E99570A9F92668ACCDEA6096144A47EDF98E18D5D02204AD89122224F353155EACC30F80BA214350968F744A480B4CD5A3174B473D6AF", "hash": "16F266ABCC617CF906A25AA83BDDAD2577125E6A692A36543934AA0F0C3B77C0", "inLedger": 6907161, "ledger_index": 6907161 }, { "Account": "r9bf8V4ae5xReYnKPXgnwERDFPoW34FhGy", "Fee": "12", "Flags": 2147483648, "LastLedgerSequence": 6907167, "Sequence": 3273, "SigningPubKey": "03B7857216DF96BABCC839686670A67602B3EE50D0F12B41C15F73760B8ED394C1", "TakerGets": "5397", "TakerPays": { "currency": "USD", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "value": "0.00002593363079073453" }, "TransactionType": "OfferCreate", "TxnSignature": "3044022061685E23375A299747DE45DA302966C6AF8C07D2DA9BEBB4F5572E3B02C6564D02207187E626EC817EFAFFAD002E75FC16E17A5BD54DA41D4E339F3C2A9F86FFD523", "hash": "C9112B7C246FC8A9B377BD762F1D64F0DCA1128D55254A442E5735935A09D83E", "inLedger": 6907160, "ledger_index": 6907160 }, { "Account": "rBHMbioz9znTCqgjZ6Nx43uWY43kToEPa9", "Amount": { "currency": "USD", "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "value": "4" }, "Destination": "r4X3WWZ3UZMDw3Z7T32FXK2NAaiitSWZ9c", "Fee": "12", "Flags": 0, "LastLedgerSequence": 6907168, "Paths": [ [ { "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "type": 1, "type_hex": "0000000000000001" }, { "currency": "XRP", "type": 16, "type_hex": "0000000000000010" }, { "currency": "USD", "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 48, "type_hex": "0000000000000030" }, { "account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 1, "type_hex": "0000000000000001" } ], [ { "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "type": 1, "type_hex": "0000000000000001" }, { "currency": "USD", "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 48, "type_hex": "0000000000000030" }, { "account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 1, "type_hex": "0000000000000001" } ], [ { "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "type": 1, "type_hex": "0000000000000001" }, { "currency": "XRP", "type": 16, "type_hex": "0000000000000010" }, { "currency": "USD", "issuer": "rwmUaXsWtXU4Z843xSYwgt1is97bgY8yj6", "type": 48, "type_hex": "0000000000000030" }, { "account": "rwmUaXsWtXU4Z843xSYwgt1is97bgY8yj6", "type": 1, "type_hex": "0000000000000001" }, { "account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 1, "type_hex": "0000000000000001" } ], [ { "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", "type": 1, "type_hex": "0000000000000001" }, { "currency": "XRP", "type": 16, "type_hex": "0000000000000010" }, { "currency": "USD", "issuer": "rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP", "type": 48, "type_hex": "0000000000000030" }, { "account": "rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP", "type": 1, "type_hex": "0000000000000001" }, { "account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "type": 1, "type_hex": "0000000000000001" } ] ], "SendMax": { "currency": "USD", "issuer": "rBHMbioz9znTCqgjZ6Nx43uWY43kToEPa9", "value": "4.132649022" }, "Sequence": 4660, "SigningPubKey": "03DFEFC9A95AEF55232A2B89867745CE45373F5CE23C34D51D21343CEA92BD61AD", "TransactionType": "Payment", "TxnSignature": "30450220636E405B96C998BF5EBB665D519FA8B4431A6CB5962F754EEDD48EBE95F8C45F02210097851E297FEDA44F7DFED844AE109CF2D968BD58CD3C0E951B435278A91002FA", "hash": "5007E8ECAE64482D258E915FFDEFAF2FE35ED9520BA7BB424BE280691F997435", "inLedger": 6907160, "ledger_index": 6907160 }, { "Account": "rfESTMcbvbvCBqU1FTvGWiJP8cmUSu4GKg", "Amount": { "currency": "BTC", "issuer": "rTJdjjQ5wWAMh8TL1ToXXD2mZzesa6DSX", "value": "0.0998" }, "Destination": "r3AWbdp2jQLXLywJypdoNwVSvr81xs3uhn", "Fee": "10", "Flags": 2147483648, "InvoiceID": "A98FD36C17BE2B8511AD36DC335478E7E89F06262949F36EB88E2D683BBCC50A", "SendMax": { "currency": "BTC", "issuer": "rTJdjjQ5wWAMh8TL1ToXXD2mZzesa6DSX", "value": "0.100798" }, "Sequence": 18697, "SigningPubKey": "025D9E40A50D78347EB8AFF7A36222BBE173CB9D06E68D109D189FF8616FC21107", "TransactionType": "Payment", "TxnSignature": "3044022007AA39E0117963ABF03BAEF0C5AB45862093525344362D34B9F6BA8373A0C9DC02206AB4FE915F4CBDA84E668F7F21A9914DC95C83A72FB3F9A114B10D4ECB697A25", "hash": "C738A5095DCE3A256C843AA48BB26F0339EAD3FF09B6D75C2EF50C4AD4B4D17C", "inLedger": 6907159, "ledger_index": 6907159 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "Sequence": 1479726, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": "37284087", "TakerPays": { "currency": "NZD", "issuer": "rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc", "value": "0.291570426" }, "TransactionType": "OfferCreate", "TxnSignature": "3045022100F246F043C97C0DA7947793E9390DBA5AB0C6EB4A0165DADF0E96C939B70D113C0220797F572368EF68490813663C0E2ACF03424CB73B64F3D6C8508C7E8F6D2CC767", "hash": "CAE39A38C222DF0BBC9AA25D30320220DC216646CE0A447F330BE279B20BD008", "inLedger": 6907159, "ledger_index": 6907159 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "Sequence": 1479725, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": "10000000000", "TakerPays": { "currency": "BTC", "issuer": "ra9eZxMbJrUcgV8ui7aPc161FgrqWScQxV", "value": "0.091183099" }, "TransactionType": "OfferCreate", "TxnSignature": "30440220376E6D149435B87CA761ED1A9BD205BA93C0C30D6EB1FB26D8B5D06A55977F510220213E882DD43BC78C96B51E43273D9BD451F8337DDF6960CBFB9802A347FF18E4", "hash": "CC07A503ED60F14AF023AB839C726B73591DE5C986D1234671E2518D8F840E12", "inLedger": 6907159, "ledger_index": 6907159 }, { "Account": "rHsZHqa5oMQNL5hFm4kfLd47aEMYjPstpg", "Fee": "15", "Flags": 0, "Sequence": 1479724, "SigningPubKey": "025718736160FA6632F48EA4354A35AB0340F8D7DC7083799B9C57C3E937D71851", "TakerGets": "9094329166", "TakerPays": { "currency": "XAG", "issuer": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH", "value": "3.022830117" }, "TransactionType": "OfferCreate", "TxnSignature": "3045022100CFD63762B3809B37B6A1294C4B4C8DA39023D66893045BA4AA9767DD8570A8F9022005F42B08E94190637158E80DAE99F3FB104EC2AA30F69BBA3417E5BBCDB5DB77", "hash": "64029D736C34D21CDB100D976A06A988E2CA6E3BBC0DDFCE840D9619B853B47C", "inLedger": 6907159, "ledger_index": 6907159 } ] } }
The response follows the standard format, with a successful result containing the following fields:
Field | Type | Description |
---|---|---|
index | Unsigned Integer | The value of start used in the request. |
txs | Array | Array of transaction objects. |
The fields included in each transaction object vary slightly depending on the type of transaction. See Transaction Format for details.
Possible Errors
- Any of the universal error types.
invalidParams
- One or more fields are specified incorrectly, or one or more required fields are missing.noPermission
- Thestart
field specified was greater than 10000, but you are not connected to the server as an admin.