getJpycAddress
このコンテンツはまだ日本語訳がありません。
getJpycAddress(
chainId):`0x${string}`
Defined in: src/tokens/jpyc.ts:117
Returns the JPYC contract address for a kawasekit-supported chain.
Parameters
chainId
1 | 137 | 1001 | 8217 | 43113 | 43114 | 80002 | 11155111
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);