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

Batch Actions

In addition to batch create and batch mint, any set of Hats.sol functions can be batched together into a single transaction.

This is made possible by Multicallable — from which Hats.sol inherits — which adds a non-payable multicall function to the contract. This enables EOAs to make multiple calls to the contract atomically, unlocking a number of useful batch operations that were previously only available to smart contracts.

For example,

Last updated