FUNCTION

_recover_evm_address

function _recover_evm_address(message: text, signature: signature): byte_array

Given the message and signature, extracts the evm address that signed it.

Throws "INPUT ERROR" if message is empty.

Parameters

  • message — the message that was signed
  • signature — the EVM signature of the message
© 2024 Chromia