コンテンツにスキップ

polygonAmoy

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

const polygonAmoy: object

Defined in: src/chains/polygon.ts:67

Polygon Amoy testnet — the primary kawasekit development target.

Built on viem’s polygonAmoy definition. JPYC is also live on Amoy at the same address as mainnet; see src/tokens/jpyc.ts.

Type Declaration

blockExplorers

blockExplorers: object

blockExplorers.default

readonly default: object

blockExplorers.default.apiUrl

readonly apiUrl: "https://api.etherscan.io/v2/api"

blockExplorers.default.name

readonly name: "PolygonScan"

blockExplorers.default.url

readonly url: "https://amoy.polygonscan.com"

blockTime?

optional blockTime?: number

contracts

contracts: object

contracts.multicall3

readonly multicall3: object

contracts.multicall3.address

readonly address: "0xca11bde05977b3631167028862be2a173976ca11"

contracts.multicall3.blockCreated

readonly blockCreated: 3127388

custom?

optional custom?: Record<string, unknown>

ensTlds?

optional ensTlds?: readonly string[]

experimental_preconfirmationTime?

optional experimental_preconfirmationTime?: number

extendSchema?

optional extendSchema?: Record<string, unknown>

fees?

optional fees?: ChainFees<undefined>

formatters?

optional formatters?: undefined

id

id: 80002

isTestnet

isTestnet: true = true

name

name: "Polygon Amoy"

nativeCurrency

nativeCurrency: object

nativeCurrency.decimals

readonly decimals: 18

nativeCurrency.name

readonly name: "POL"

nativeCurrency.symbol

readonly symbol: "POL"

prepareTransactionRequest?

optional prepareTransactionRequest?: ((args, options) => Promise<PrepareTransactionRequestParameters<Chain | undefined, Account | undefined, Chain | undefined, `0x${string}` | Account | undefined, PrepareTransactionRequestRequest<Chain | undefined, Chain | undefined, Chain | undefined>>>) | [(args, options) => Promise<PrepareTransactionRequestParameters<Chain | undefined, Account | undefined, Chain | undefined, `0x${string}` | Account | undefined, PrepareTransactionRequestRequest<Chain | undefined, Chain | undefined, Chain | undefined>>>, object]

rpcUrls

rpcUrls: object

rpcUrls.default

readonly default: object

rpcUrls.default.http

readonly http: readonly ["https://rpc-amoy.polygon.technology"]

serializers?

optional serializers?: ChainSerializers<undefined, TransactionSerializable<bigint, number>>

sourceId?

optional sourceId?: number

testnet

testnet: true

verifyHash?

optional verifyHash?: (client, parameters) => Promise<boolean>

Parameters

client

Client<Transport, Chain | undefined, Account | undefined, undefined, {[key: string]: unknown; account?: undefined; batch?: undefined; cacheTime?: undefined; ccipRead?: undefined; chain?: undefined; dataSuffix?: undefined; experimental_blockTag?: undefined; key?: undefined; name?: undefined; pollingInterval?: undefined; request?: undefined; transport?: undefined; type?: undefined; uid?: undefined; } | undefined>

parameters

VerifyHashParameters

Returns

Promise<boolean>