FUNCTION

generate_operation_auth_message

function generate_operation_auth_message(blockchain_rid: byte_array, op: gtx_operation): text

Creates message from operation name and arguments. It is used when evm_auth is used to authenticate a user, but auth message is not specified in the auth handler of the operation.

The message will contain the operation name and all parameters, formatted in a way that favors readability of every parameter. It is not expected to be a sensible message for end users to read, as the parameters will not have a label identifying what they represent.

Parameters

  • blockchain_rid — the RID of the blockchain we're on
  • op — the operation that needs to be signed
© 2024 Chromia