Skip to content

getCurveForChain()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / getCurveForChain

getCurveForChain(chain): StealthCurve

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1467

Get the curve type used by a chain for stealth addresses

ChainId

Chain identifier

StealthCurve

‘ed25519’ for Solana/NEAR, ‘secp256k1’ for EVM chains