Skip to content

getCurveForChain()

SIP Protocol API Reference v0.14.0


SIP Protocol API Reference / getCurveForChain

getCurveForChain(chain): StealthCurve

Defined in: @sip-protocol/sdk/dist/index-ClFG32eh.d.ts:3998

Get the curve type used by a chain for stealth addresses

ChainId

Chain identifier

StealthCurve

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