For the complete documentation index, see llms.txt. This page is also available as Markdown.

default

An entrypoint that receives bakers' rewards and updates global rewards for all users.

Call parameters

An entrypoint doesn't accept any parameters.

Usage

const bucketAddress = "KT1...";
const mutezAmount = 100;
const bucket = await tezos.contract.at(bucketAddress);
const operation = await bucket.methods.default([]).send({ amount: mutezAmount, mutez: true });

await operation.confirmation();

Errors

An entrypoint doesn't throw any errors.

Last updated