Skip to main content

decoderecord

Returns information about a record from serialized record hex.

Arguments

ParameterTypeRequiredDescription
record_bytesstringYesThe raw record hex to decode

Response

ParameterTypeDescription
ownerstringThe owner of the record
is_dummynumberThe height of the next block
valuenumberThe current timestamp
payloadobjectThe record payload
birth_program_idstringThe birth program representation
death_program_idstringThe death program representation
serial_number_noncestringThe serial number nonce
commitmentstringThe record commitment
commitment_randomnessstringThe record commitment randomness

Example

curl --data-binary '{"jsonrpc": "2.0", "id":"documentation", "method": "decoderecord", "params": ["record_hexstring"] }' -H 'content-type: application/json' http://127.0.0.1:3030/