TypeScript SDK

ERC7702.getTransferPoliciesForSigner

Calls the "getTransferPoliciesForSigner" function on the contract.

Example

import { getTransferPoliciesForSigner } from "thirdweb/extensions/erc7702";
const result = await getTransferPoliciesForSigner({
contract,
signer: ...,
});
function getTransferPoliciesForSigner(options: BaseTransactionOptions<GetTransferPoliciesForSignerParams>) : Promise<readonly Array<{ maxValuePerUse: bigint; target: string; valueLimit: { limit: bigint; limitType: number; period: bigint } }>>

Parameters

The options for the getTransferPoliciesForSigner function.

Type

Returns

let returnType: Promise<readonly Array<{ maxValuePerUse: bigint; target: string; valueLimit: { limit: bigint; limitType: number; period: bigint } }>>

The parsed result of the function call.