Skip to main content

Network

[# Masa SDK

  • v3.34.1](/docs/developers/sdk/) / Exports / Network

Interface: Network

Table of contents

Properties

Properties

addresses

addresses: Addresses

Masa Curated known Addresses of Contracts like Business logic and tokens


blockExplorerApiUrls

Optional blockExplorerApiUrls: string[]

set of block explorer api urls


blockExplorerUrls

Optional blockExplorerUrls: string[]

set of block explorer urls


chainId

chainId: number

The networks chain id used to add the network to the wallet


chainName

chainName: string

The long chain name that metamask displays or that we use to offer the user to switch networks


chainNameShort

chainNameShort: string

A short version of the Chain Name to be displayed in Buttons or locations with less space


gasSlippagePercentage

Optional gasSlippagePercentage: number

the default gas slippage percentage used on some testnets


isDeprecated

Optional isDeprecated: boolean

is this network deprecated


isTestnet

isTestnet: boolean

is this network a test network or not?


lzEndpointId

Optional lzEndpointId: number

LayerZero Endpoint ID


nativeCurrency

Optional nativeCurrency: Object

Information about the native currency

Type declaration

NameType
decimalsnumber
namestring
symbolstring

networkName

networkName: NetworkName

the technical network name that the SDK knows


rpcUrls

rpcUrls: (undefined | string)[]

The list of available rpc urls, required for adding the network to the wallet


skipEip1559

Optional skipEip1559: boolean

skip eip1559 gas price calculation for this network