distributeByToken

This extension is similar to the distribute extension, however it require you to specify the token (address) that you want to distribute

Example

import { distributeByToken } from "thirdweb/extensions/split";
const transaction = distributeByToken();
// Send the transaction
...

Parameters

Returns

A prepared transaction object.