Calls the "released" function on the contract. Similar to the released extension, however this one requires you to specify a tokenAddress
released
import { releasedByToken } from "thirdweb/extensions/split"; const result = await releasedByToken({ contract, account: "0x...", tokenAddress: "0x...",});
function releasedByToken( options: BaseTransactionOptions< ReleasedParams & { tokenAddress: string } >,): Promise<bigint>;
The options for the released function.
let options: BaseTransactionOptions< ReleasedParams & { tokenAddress: string }>;
let returnType: Promise<bigint>;
The parsed result of the function call.