Quipuswap
Search…
is_banned_baker
This on-chain view checks baker is banned on this Bucket contract or not.

Call parameters

Field
Type
Description
baker
key_hash
Baker to check

Return type

nat

Usage

🌮 Taquito
const bucketAddress = "KT1...";
const baker = "tz1...";
const viewCaller = "tz1...";
const bucket = await tezos.contract.at(bucketAddress);
const isBannedBaker = await bucket.contract.contractViews.is_banned_baker(baker).executeView({ viewCaller: viewCaller });

Errors

A view doesn't throw any errors.
Copy link
On this page
Call parameters
Return type
Usage
Errors