autobahn.xbr._eip712_consent


Module Contents

Functions

_create_eip712_consent(→ dict)

param chainId

sign_eip712_consent(→ bytes)

param eth_privkey

Ethereum address of buyer (a raw 20 bytes Ethereum address).

recover_eip712_consent(→ bytes)

Recover the signer address the given EIP712 signature was signed with.

Parameters
  • chainId

  • verifyingContract

  • member

  • updated

  • marketId

  • delegate

  • delegateType

  • apiCatalog

  • consent

  • servicePrefix

Returns

Parameters

eth_privkey (bytes) – Ethereum address of buyer (a raw 20 bytes Ethereum address).

Returns

The signature according to EIP712 (32+32+1 raw bytes).

Return type

bytes

Recover the signer address the given EIP712 signature was signed with.

Returns

The (computed) signer address the signature was signed with.

Return type

bytes