Checks if transaction is correct (in the mempool)

CLI Example

Command syntax:

tx_verify 
-net <net_name> 
-chain <chain_name> 
-tx <tx_hash>

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-chain - the name of Chain. The list of chains can be found in the directory <Config_dir> \ etc \ network \ <network_name> or by the Cellframe-Node-CLI using command - net list chains
-tx - hash of the transaction
 

Example:

Command:

cellframe-node-cli tx_verify 
-net mileena 
-chain main 
-tx 0x903CA4A3EAB0479CC0D46D8856DE377072E7ACA14364BE804374ED26CE1F8FAF

Response:

 Specified tx verify fail with return code=2

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect -d '{"method":"tx_verify", "params":["tx_verify;-net;foobar;-chain;main;-tx;0x8A766B43EF8A18D1F6F86F19636D6EDEFD504EFD7BC03226DA07D2CF95A098C0"], "id":"1"}'

Response:


"type": 2,
"result": "same as cli response",
"errors": null,
"id": 1	
}