shares

Calls the "shares" function on the contract.

Example

import { shares } from "thirdweb/extensions/split";
const result = await shares({
contract,
account: ...,
});
function shares(
): Promise<bigint>;

Parameters

The options for the shares function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.