getJpycAddress
このコンテンツはまだ日本語訳がありません。
getJpycAddress(
chainId):`0x${string}`
Defined in: src/tokens/jpyc.ts:95
Returns the JPYC contract address for a kawasekit-supported chain.
Parameters
chainId
137 | 80002
Returns
`0x${string}`
The JPYC contract address on that chain.
Throws
If JPYC is not live on the chain.
Example
import { getJpycAddress, polygonAmoy } from "kawasekit";
const address = getJpycAddress(polygonAmoy.id);