dry run the transaction and return the execution cycles, this method will not check the transaction
validaty, but only run the lock script and type script and then return the execution cycles.
param
the raw transaction whose cycles is going to be calculated
returns
dry run result, including cycles the transaction used.
Returns each component of the created CKB in this block's cellbase, which is issued to
a block N - 1 - ProposalWindow.farthest, where this block's height is N.
rpc to send a new transaction into transaction pool
param
a raw transaction includes cell deps, inputs, outputs, version, and witnesses,
detailed info could be found in ckb-types
param
Validates the transaction outputs before entering the tx-pool,
an optional string parameter (enum: default | passthrough ),
null and passthrough mean skipping outputs validation
addNode
DefaultRPC
attempt to add a node to the peer list and try to connect
the peer id of target node
the address of target node