getTransaction error
bliplink opened this issue · 1 comments
bliplink commented
public ConfirmedTransaction getTransaction(String signature, Commitment commitment) throws RpcException {
List params = new ArrayList<>();
params.add(signature);
Map<String, Object> parameterMap = new HashMap<>();
if (commitment != null) {
parameterMap.put("commitment", commitment); //update parameterMap.put("commitment", commitment.getValue());
}
parameterMap.put("maxSupportedTransactionVersion", 0);
params.add(parameterMap);
return client.call("getTransaction", params, ConfirmedTransaction.class);
}
skynetcap commented
Can you provide the full error and an example test case (example TX)? I can't reproduce this.