curl --request POST \ --url https://gateway.taiyi-devnet-0.preconfs.org/commitments/v0/submit_tx_type_b \ --header 'Content-Type: application/json' \ --header 'x-luban-signature: <x-luban-signature>' \ --data '{ "request_id": "0729a580-2240-11e6-9eb5-0002a5d5c51b", "transaction": "<string>" }'
{ "request_id": "0729a580-2240-11e6-9eb5-0002a5d5c51b", "commitment": "0x8a726dc1d89dc0b10a27130c562cce2d346f2bbac1af683d9b55632825e4abc0480bcf25276452a3c076f2a5d756c6deedd552cfc343dd34a5953835f4d7c8a71c", "sequence_num": 123 }
An ECDSA signature from the user over fields of body. See here for signature construction
"0x8a726dc1d89dc0b10a27130c562cce2d346f2bbac1af683d9b55632825e4abc0480bcf25276452a3c076f2a5d756c6deedd552cfc343dd34a5953835f4d7c8a71c"
Success
The response is of type object.
object