Skip to main content

Interface: WrapUnwrapFeeEstimate

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / bridge / WrapUnwrapFeeEstimate

Interface: WrapUnwrapFeeEstimate

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1274

Fee estimation for wrap/unwrap operations

Wrap and unwrap operations may have different fee authorization types:

  • Wrap (→ asset): Uses cross_channel_authorization on source channel
  • Unwrap (→ native): Uses automatic authorization on asset channel

Properties​

authorizationType​

authorizationType: "cross_channel_authorization" | "automatic"

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1280

Fee authorization type used by the backend


fee​

fee: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1276

Estimated fee amount (decimal string)


feeChannel​

feeChannel: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1282

Channel where the fee is authorized/charged


feeToken​

feeToken: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1278

Fee token symbol (usually "GALA")