Skip to content

recommendCheapestChain()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / recommendCheapestChain

recommendCheapestChain(chains, requirements?): ChainId | undefined

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:24460

Recommend cheapest chain for operation

ChainId[]

Available chains

Operation requirements

number

Required block time (seconds)

boolean

Requires blob support

ChainFamily

Preferred chain family

ChainId | undefined

Recommended chain