recommendProfile()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / recommendProfile
Function: recommendProfile()
Section titled “Function: recommendProfile()”recommendProfile(
options):UnifiedOptimizationProfile
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:24474
Recommend optimization profile based on urgency and value
Parameters
Section titled “Parameters”options
Section titled “options”Profile selection options
valueUsd?
Section titled “valueUsd?”number
Transaction value in USD
urgency?
Section titled “urgency?”number
Urgency level 1-10
chain?
Section titled “chain?”Chain being used
Returns
Section titled “Returns”Recommended profile