StonfiApi class abstract

Annotations
  • @ChopperApi()

Constructors

StonfiApi.new()

Properties

client ↔ ChopperClient
getter/setter pairinherited
definitionType Type
Used internally to retrieve the service from ChopperClient.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

exportCmcV1Get() Future<Response<List<Object>>>
exportDexscreenerV1AssetAddressGet({required String? address}) Future<Response<AssetInfoScreenerResponse$Response>>
@param address
exportDexscreenerV1EventsGet({required int? fromBlock, required int? toBlock}) Future<Response<EventsResponse$Response>>
@param fromBlock Block number of the response events start (inclusive) @param toBlock Block number of the response events end (inclusive)
exportDexscreenerV1LatestBlockGet() Future<Response<LatestBlockResponse$Response>>
exportDexscreenerV1PairAddressGet({required String? address}) Future<Response<PoolInfoScreenerResponse$Response>>
@param address
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
v1AssetsAddrStrGet({required String? addrStr}) Future<Response<AssetResponse$Response>>
@param addr_str
v1AssetsGet() Future<Response<AssetListResponse$Response>>
v1AssetsQueryPost({String? condition, List<String>? unconditionalAssets, String? walletAddress}) Future<Response<AssetListResponseV2$Response>>
@param condition Condition @param unconditional_assets Unconditional assets @param wallet_address Wallet address
v1AssetsSearchPost({required String? searchString, String? condition, String? walletAddress}) Future<Response<AssetListResponseV2$Response>>
@param search_string Search string (by partial display name or symbol) or by full contract address @param condition Condition @param wallet_address Wallet address
v1FarmsAddrStrGet({required String? addrStr}) Future<Response<FarmResponse$Response>>
@param addr_str
v1FarmsByPoolPoolAddrStrGet({required String? poolAddrStr}) Future<Response<FarmListResponse$Response>>
@param pool_addr_str
v1FarmsGet() Future<Response<FarmListResponse$Response>>
v1JettonAddrStrAddressGet({required String? ownerAddress, required String? addrStr}) Future<Response<AddressResponse$Response>>
@param owner_address Address of the owner @param addr_str
v1MarketsGet() Future<Response<MarketListResponse$Response>>
v1PoolsAddrStrGet({required String? addrStr}) Future<Response<PoolListResponse$Response>>
@param addr_str
v1PoolsGet() Future<Response<PoolListResponse$Response>>
v1ReverseSwapSimulatePost({required String? offerAddress, required String? askAddress, required String? units, required String? slippageTolerance, String? referralAddress}) Future<Response<SimulateSwapResponse$Response>>
@param offer_address The address of the token we want to sell @param ask_address The address of the token we want to buy @param units Number of token units we want to sell @param slippage_tolerance The maximum possible difference between the rates that we expect and which will actually be, in fractions (for example, 0.001 is 0.1%) @param referral_address Referral address
v1StatsDexGet({String? since, String? until}) Future<Response<DexStatsResponse$Response>>
@param since Time since stats are requested (YYYY-MM-DDTHH:MM:SS) @param until Time until stats are requested (YYYY-MM-DDTHH:MM:SS)
v1StatsOperationsGet({required String? since, required String? until}) Future<Response<OperationsResponse$Response>>
@param since Time since the stats are requested (YYYY-MM-DDTHH:MM:SS) @param until Time until pool stats are requested (YYYY-MM-DDTHH:MM:SS)
v1StatsPoolGet({required String? since, required String? until}) Future<Response<PoolStatsResponse$Response>>
@param since Time since the stats are requested (YYYY-MM-DDTHH:MM:SS) @param until Time until pool stats are requested (YYYY-MM-DDTHH:MM:SS)
v1SwapSimulatePost({required String? offerAddress, required String? askAddress, required String? units, required String? slippageTolerance, String? referralAddress}) Future<Response<SimulateSwapResponse$Response>>
@param offer_address The address of the token we want to sell @param ask_address The address of the token we want to buy @param units Number of token units we want to sell @param slippage_tolerance The maximum possible difference between the rates that we expect and which will actually be, in fractions (for example, 0.001 is 0.1%) @param referral_address Referral address
v1SwapStatusGet({required String? routerAddress, required String? ownerAddress, required String? queryId}) Future<Response<Object>>
@param router_address Address of the operation router @param owner_address Owner`s wallet address @param query_id Id of operation status query
v1WalletsAddrStrAssetsAssetStrGet({required String? addrStr, required String? assetStr}) Future<Response<AssetResponse$Response>>
@param addr_str @param asset_str
v1WalletsAddrStrAssetsGet({required String? addrStr}) Future<Response<AssetListResponse$Response>>
@param addr_str
v1WalletsAddrStrFarmsFarmStrGet({required String? addrStr, required String? farmStr}) Future<Response<FarmResponse$Response>>
@param addr_str @param farm_str
v1WalletsAddrStrFarmsGet({required String? addrStr}) Future<Response<FarmListResponse$Response>>
@param addr_str
v1WalletsAddrStrOperationsGet({required String? since, required String? until, String? opType, required String? addrStr}) Future<Response<OperationsResponse$Response>>
@param since Time since the stats are requested (YYYY-MM-DDTHH:MM:SS) @param until Time until pool stats are requested (YYYY-MM-DDTHH:MM:SS) @param op_type target op type @param addr_str
v1WalletsAddrStrPoolsGet({required String? addrStr}) Future<Response<PoolListResponse$Response>>
@param addr_str
v1WalletsAddrStrPoolsPoolStrGet({required String? addrStr, required String? poolStr}) Future<Response<PoolResponse$Response>>
@param addr_str @param pool_str

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create({ChopperClient? client, Client? httpClient, Authenticator? authenticator, ErrorConverter? errorConverter, Converter? converter, Uri? baseUrl, List<Interceptor>? interceptors}) StonfiApi