- Preparing search index...
- The search index is not available
sdk-v2
Type alias SwapExactAmountOutParams
Swap
Exact
Amount
Out
Params
: { assetAmountOut
: string | u128 | number | Uint8Array; assetIn
: ZeitgeistPrimitivesAsset | AssetId | Uint8Array; assetOut
: ZeitgeistPrimitivesAsset | AssetId | Uint8Array; maxAssetAmountIn
?: string | u128 | number | Uint8Array | null; maxPrice
?: string | u128 | number | Uint8Array | null; poolId
: string | u128 | number | Uint8Array; signer
: KeyringPairOrExtSigner; }
Type declaration
-
assetAmountOut: string | u128 | number | Uint8Array
-
assetIn: ZeitgeistPrimitivesAsset | AssetId | Uint8Array
-
assetOut: ZeitgeistPrimitivesAsset | AssetId | Uint8Array
-
Optional
maxAssetAmountIn?: string | u128 | number | Uint8Array | null
-
Optional
maxPrice?: string | u128 | number | Uint8Array | null
-
poolId: string | u128 | number | Uint8Array
-
signer: KeyringPairOrExtSigner