Skip to main content

getNativeTokenByChainId() function

Returns the native token for a given chain

Signature:

export declare function getNativeTokenByChainId(chainId: ChainId): NativeToken;

Parameters

ParameterTypeDescription
chainIdChainIdthe chain id

Returns:

NativeToken