Skip to content

recommendCheapestChain()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / recommendCheapestChain

recommendCheapestChain(chains, requirements?): ChainId | undefined

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:24796

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