Quipuswap
Search…
register
An entrypoint for bakers registration.

Call parameters

Field
Type
Description
baker
key_hash
An address of a baker

Usage

🌮 Taquito
const bakerRegistryAddress = "KT1...";
const baker = "tz1...";
const bakerRegistry = await tezos.contract.at(bakerRegistryAddress);
const operation = await bakerRegistry.methods.register(baker).send();
​
await operation.confirmation();

Errors

  • 412 - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
  • the operation fails when the key_hash parameter is not a registered delegate (standard Tezos error).
Copy link
On this page
Call parameters
Usage
Errors