AddTx is the RPC method to add a transaction.
(req *types.AddTxReq, _ *types.AddTxResp)
| 90 | |
| 91 | // AddTx is the RPC method to add a transaction. |
| 92 | func (s *ChainRPCService) AddTx(req *types.AddTxReq, _ *types.AddTxResp) (err error) { |
| 93 | s.chain.addTx(req) |
| 94 | return |
| 95 | } |
| 96 | |
| 97 | // QueryAccountTokenBalance is the RPC method to query account token balance. |
| 98 | func (s *ChainRPCService) QueryAccountTokenBalance( |