getCurveForChain()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / getCurveForChain
Function: getCurveForChain()
Section titled “Function: 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
Parameters
Section titled “Parameters”Chain identifier
Returns
Section titled “Returns”‘ed25519’ for Solana/NEAR, ‘secp256k1’ for EVM chains