コンテンツにスキップ

TransferJpycParams

このコンテンツはまだ日本語訳がありません。

Defined in: src/client/transfer-jpyc.ts:29

Parameters for transferJpyc.

Properties

amount

readonly amount: bigint

Defined in: src/client/transfer-jpyc.ts:43

Raw token amount in the token’s smallest unit (JPYC has 18 decimals).

Example

import { parseUnits } from "viem";
import { JPYC_DECIMALS } from "kawasekit";
parseUnits("100", JPYC_DECIMALS); // 100 JPYC

to

readonly to: `0x${string}`

Defined in: src/client/transfer-jpyc.ts:31

Recipient address.


waitForReceipt?

readonly optional waitForReceipt?: boolean

Defined in: src/client/transfer-jpyc.ts:49

Optional. Defaults to waiting for the bundler receipt before returning. Set to false to return after the UserOp is submitted but before it lands on chain — useful when the caller wants to do its own polling.