Skip to content

Commit 2157cda

Browse files
authored
Merge pull request #84 from soramitsu/RPCMethods
polkaswap rpc methods added
2 parents 606bbd0 + 45ed75a commit 2157cda

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

FearlessUtils/Classes/Network/RPCMethod.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ public enum RPCMethod {
2121
public static let runtimeVersionSubscribe = "state_subscribeRuntimeVersion"
2222
public static let existentialDeposit = "tokens_queryExistentialDeposit"
2323
public static let stateCall = "state_call"
24+
25+
// Polkaswap
26+
public static let checkIsSwapPossible = "liquidityProxy_isPathAvailable"
27+
public static let availableMarketAlgorithms = "liquidityProxy_listEnabledSourcesForPath"
28+
public static let recalculateSwapValues = "liquidityProxy_quote"
29+
public static let swapExtrinsic = "liquidityProxy_swap"
30+
public static let listSupportedSources = "dexApi_listSupportedSources"
31+
32+
public static let accountPools = "PoolXYK_AccountPools"
33+
public static let isPairEnabled = "tradingPair_isPairEnabled"
2434
}

0 commit comments

Comments
 (0)