release

Prepares a transaction to call the "release" function on the contract.

Example

import { release } from "thirdweb/extensions/split";
const transaction = release({
contract,
account: ...,
overrides: {
...
}
});
// Send the transaction
...
function release(
ReleaseParams | { asyncParams: () => Promise<ReleaseParams> }
>,

Parameters

The options for the "release" function.

Type

ReleaseParams | { asyncParams: () => Promise<ReleaseParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.