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