hmyv2_sendRawStakingTransaction
Parameters
String
: Hex representation of signed staking transaction
Result
If transaction has been added to the pool
String
: Staking transaction hash
If transaction failed to be added to the transaction pool, it will return an error.
Request Body
{"jsonrpc"=>"2.0", "id"=>1, "method"=>"hmyv2_sendRawStakingTransaction", "params"=>["SignedStakingTransaction"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"jsonrpc":"2.0","id":1,"result":"0xDEADBEEF"}