xrp 查询tx详情

本币交易

请求参数:

{
    "method": "tx",
    "params": [
        {
            "transaction": "4E458E0821854B9AD4AB86929AAF1EA06476D0C7CCCB952B072DD61BF918AE6F",
            "binary": false
        }
    ]
}

响应参数


{
    "result": {
        "Account": "rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg",
        "Amount": "201526120280",
        "Destination": "r4sRyacXpbh4HbagmgfoQq8Q3j8ZJzbZ1J",
        "DestinationTag": 1,
        "Fee": "40",
        "Flags": 2147483648,
        "LastLedgerSequence": 56966483,
        "Sequence": 458426,
        "SigningPubKey": "0381575032E254BF4D699C3D8D6EFDB63B3A71F97475C6F6885BC7DAEEE55D9A01",
        "TransactionType": "Payment",
        "TxnSignature": "3044022078B238CD2CB1C3570412401613CA4C68A4EC92020A82C7E4280B590CD06F12B602204DABEC8045ACF475DA9399A2AC50F3D66E93B8484191879C6C95758C5A80E849",
        "date": 648635590,
        "hash": "4E458E0821854B9AD4AB86929AAF1EA06476D0C7CCCB952B072DD61BF918AE6F",
        "inLedger": 56966461,
        "ledger_index": 56966461,
        "meta": {
            "AffectedNodes": [
                {
                    "ModifiedNode": {
                        "FinalFields": {
                            "Account": "r4sRyacXpbh4HbagmgfoQq8Q3j8ZJzbZ1J",
                            "Balance": "4302664422881",
                            "Flags": 0,
                            "OwnerCount": 0,
                            "Sequence": 50591
                        },
                        "LedgerEntryType": "AccountRoot",
                        "LedgerIndex": "AF7E8BC2CE27A201731F92E6FC96BC79E6B997E4AAAD2EAFD77A0D40A752636C",
                        "PreviousFields": {
                            "Balance": "4101138302601"
                        },
                        "PreviousTxnID": "41B948466FE202DFB8AFEAB460CCB3AB7E44CCC4DB7A29E682D4C377A9593E26",
                        "PreviousTxnLgrSeq": 56966448
                    }
                },
                {
                    "ModifiedNode": {
                        "FinalFields": {
                            "Account": "rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg",
                            "Balance": "39999960",
                            "Flags": 131072,
                            "OwnerCount": 0,
                            "Sequence": 458427
                        },
                        "LedgerEntryType": "AccountRoot",
                        "LedgerIndex": "CC20FEBEA6D2AF969EC46F2BD92684D9FBABC3F238E841B5E056FE4EBF4379A9",
                        "PreviousFields": {
                            "Balance": "201566120280",
                            "Sequence": 458426
                        },
                        "PreviousTxnID": "71337181259A88A1845F1661A4B268FC836C3E35BD45E420B988595EFF056B96",
                        "PreviousTxnLgrSeq": 56966452
                    }
                }
            ],
            "TransactionIndex": 33,
            "TransactionResult": "tesSUCCESS",
            "delivered_amount": "201526120280"
        },
        "status": "success",
        "validated": true
    }
}

其他币交易

请求参数:

{
    "method": "tx",
    "params": [
        {
            "transaction": "1DB1E70A8EBFFA648729A91F5C42A95A55C10215D7A32E7DB3F84ECBEE3A3FFE",
            "binary": false
        }
    ]
}

响应参数

{
    "result": {
        "Account": "r96HghtYDxvpHNaru1xbCQPcsHZwqiaENE",
        "Amount": {
            "currency": "CNT",
            "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
            "value": "10000"
        },
        "Destination": "r96HghtYDxvpHNaru1xbCQPcsHZwqiaENE",
        "Fee": "11",
        "Flags": 2147942400,
        "LastLedgerSequence": 56966462,
        "Paths": [
            [
                {
                    "currency": "USD",
                    "issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "CNY",
                    "issuer": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ],
            [
                {
                    "currency": "CNY",
                    "issuer": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "USD",
                    "issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ],
            [
                {
                    "currency": "USD",
                    "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "CNY",
                    "issuer": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ],
            [
                {
                    "currency": "CNY",
                    "issuer": "razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "USD",
                    "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ],
            [
                {
                    "currency": "USD",
                    "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "USD",
                    "issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ],
            [
                {
                    "currency": "USD",
                    "issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "USD",
                    "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
                    "type": 48,
                    "type_hex": "0000000000000030"
                },
                {
                    "currency": "XRP",
                    "type": 16,
                    "type_hex": "0000000000000010"
                },
                {
                    "currency": "CNT",
                    "issuer": "rPFLkxQk6xUGdGYEykqe7PR25Gr7mLHDc8",
                    "type": 48,
                    "type_hex": "0000000000000030"
                }
            ]
        ],
        "SendMax": "10000000000",
        "Sequence": 11748075,
        "SigningPubKey": "03E45D5E88ABB50151F5F00A02B2A7B66CB6CEC8E55304C4BF7D0B27BB59A14800",
        "TransactionType": "Payment",
        "TxnSignature": "304402203AF4B394A8BC95FD9BA7CC6C66718FD2A4F135435E5221B5BC6B4962393B691E02202E6C03D1FEACE15BB1E31291DD9BF83ABDE95E541303F9B4B99A8DC681956647",
        "date": 648635590,
        "hash": "1DB1E70A8EBFFA648729A91F5C42A95A55C10215D7A32E7DB3F84ECBEE3A3FFE",
        "inLedger": 56966461,
        "ledger_index": 56966461,
        "meta": {
            "AffectedNodes": [
                {
                    "ModifiedNode": {
                        "FinalFields": {
                            "Account": "r96HghtYDxvpHNaru1xbCQPcsHZwqiaENE",
                            "Balance": "2411205966",
                            "Flags": 0,
                            "OwnerCount": 3,
                            "Sequence": 11748076
                        },
                        "LedgerEntryType": "AccountRoot",
                        "LedgerIndex": "FA4C6CE33F8419ED2138BDE105C0FC75DFCEB56DAD26A0EB298F3BB3E3267234",
                        "PreviousFields": {
                            "Balance": "2411205977",
                            "Sequence": 11748075
                        },
                        "PreviousTxnID": "CCDCB2D867BFAE29B2A1F4A9895348EF0FAED4B6A1656E417291F014A3EA2ADD",
                        "PreviousTxnLgrSeq": 56966460
                    }
                }
            ],
            "TransactionIndex": 37,
            "TransactionResult": "tecPATH_DRY"
        },
        "status": "success",
        "validated": true
    }
}

你可能感兴趣的:(区块链)