neo-node icon indicating copy to clipboard operation
neo-node copied to clipboard

How to get transaction more a details ?

Open asovetnikov opened this issue 4 years ago • 1 comments

I get transaction data in RPC method getrawtransaction

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "hash": "0x298f90345616ea02a34eff1ff1f7746f64e1107ef9c2024ba3d3d44baba2a249",
        "size": 245,
        "version": 0,
        "nonce": 1694186825,
        "sender": "NS6Co9HZtohau546wB6txqyTzhaqantVAH",
        "sysfee": "997778",
        "netfee": "122852",
        "validuntilblock": 895435,
        "signers": [
            {
                "account": "0xaff094652c3a62e2c09b21094185515a8646c043",
                "scopes": "CalledByEntry"
            }
        ],
        "attributes": [],
        "script": "CxEMFB+pbjgFn2nwhvZd4zjpAyCDAp+LDBRDwEaGWlGFQQkhm8DiYjosZZTwrxTAHwwIdHJhbnNmZXIMFPVj6kC8KD1NDgXEjqMFs/Kgc0DvQWJ9W1I5",
        "witnesses": [
            {
                "invocation": "DEDaFiTpIi9YxGA9+rQMWoO4L+8Fk8eZ4wg/WnCnaaT7lF2Rmj7FLZEKfdeBVtwy60O8mDlssf4gPrnvLu7sVzv7",
                "verification": "DCEC30P4TMedtYbpTfItjHy8I2XQZh/PKLk1YfRxQ4OWDKtBVuezJw=="
            }
        ],
        "blockhash": "0xb7017ed1dc977c41abab8f6ee574295a5072c27fdc8efe6cc7540aa09bba4997",
        "confirmations": 435,
        "blocktime": 1640608596040
    }
}

The explorer get this data: https://neo3.testnet.neotube.io/transaction/0x298f90345616ea02a34eff1ff1f7746f64e1107ef9c2024ba3d3d44baba2a249

How get this data via RPC ? image

asovetnikov avatar Dec 27 '21 14:12 asovetnikov

try this getapplicationlog

https://docs.neo.org/docs/en-us/exchange/transaction.html

Jim8y avatar Dec 27 '21 19:12 Jim8y

It's old, if @asovetnikov still needing help, please re-open it.

shargon avatar Dec 06 '23 06:12 shargon