getNativeToken()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / getNativeToken
Function: getNativeToken()
Section titled “Function: getNativeToken()”getNativeToken(
chain):Asset
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7171
Get native token asset for a chain
Parameters
Section titled “Parameters”Chain identifier
Returns
Section titled “Returns”Native token asset (SOL for Solana, ETH for Ethereum, etc.)
Throws
Section titled “Throws”If chain is not supported