public static string ToAbciQueryPath(EAbciQueryPath abciQueryPath) { switch (abciQueryPath) { case EAbciQueryPath.StoreAccKey: return(StoreAccKey); case EAbciQueryPath.TokensInfo: return(TokensInfo); case EAbciQueryPath.TokensList: return(TokensList); case EAbciQueryPath.DexPairs: return(DexPairs); case EAbciQueryPath.DexOrderbook: return(DexOrderbook); case EAbciQueryPath.ParamFees: return(ParamFees); default: throw new NodeRpcException($"Unhandled abciQueryPath: {abciQueryPath}"); } }
public ResultAbciQuery AbciQuery(EAbciQueryPath abciQueryPath, string data = null, long height = 0, bool prove = false) { return(AbciQuery(endpoint.AbciQuery.ToAbciQueryPath(abciQueryPath), data, height, prove)); }