コンテンツにスキップ

getSettlementAddress

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

getSettlementAddress(chainId): `0x${string}`

Defined in: src/settlement/deployments.ts:88

Returns the Settlement contract address for a kawasekit-supported chain.

Parameters

chainId

1 | 137 | 1001 | 8217 | 43113 | 43114 | 80002 | 11155111

A SupportedChainId.

Returns

`0x${string}`

The Settlement address on that chain.

Throws

If Settlement is not live on the chain.

Example

import { getSettlementAddress, polygonAmoy } from "kawasekit";
const settlement = getSettlementAddress(polygonAmoy.id);