Prepares a transaction to call the "release" function on the contract.
import { sendTransaction } from "thirdweb";import { release } from "thirdweb/extensions/split"; const transaction = release({ contract, account: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function release( options: BaseTransactionOptions< ReleaseParams | { asyncParams: () => Promise<ReleaseParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "release" function.
let options: BaseTransactionOptions< ReleaseParams | { asyncParams: () => Promise<ReleaseParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.