- Preparing search index...
- The search index is not available
sdk-v2
Pool
Methods
: { getAssetBalance
: Te.TaskEither<Error, Decimal, [assetId
: AssetId]>; getAssetIds
: (() => AssetId[]); getAssetWeight
: ((assetId
: AssetId) => O.IOption<Decimal>); getSwapFee
: (() => Decimal); }
Type declaration
-
getAssetBalance: Te.TaskEither<Error, Decimal, [assetId: AssetId]>
-
getAssetIds: (() => AssetId[])
-
getAssetWeight: ((assetId: AssetId) => O.IOption<Decimal>)
-
- (assetId: AssetId): O.IOption<Decimal>
-
Returns O.IOption<Decimal>
-
getSwapFee: (() => Decimal)
-
- (): Decimal
-
Returns Decimal