Skip to content

@lelantos-org/sdk / x402 / shieldedExact

Function: shieldedExact() ​

ts
function shieldedExact(wallet, opts?): PayableSchemeClient;

Defined in: @lelantos-org/sdk/dist/x402/shielded.d.ts:35

Mechanism for scheme: "exact" on network: "shielded:<chainId>".

Register it on an @x402/core client:

ts
const chainId = await wallet.chain.chainId();
client.register(shieldedNetwork(chainId), shieldedExact(wallet));

or delegate to x402.

Parameters ​

ParameterType
walletWalletApi
opts?ShieldedExactOptions

Returns ​

PayableSchemeClient