We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91339fa commit 781d793Copy full SHA for 781d793
starcoin/sdk/client.py
@@ -92,6 +92,14 @@ def get_transaction_info(self, txn_hash: str) -> dict:
92
}
93
ret = self.execute(operation)
94
return ret
95
+
96
+ def get_txpool_pending_txn(self, txn_hash:str) -> dict:
97
+ operation = {
98
+ "rpc_method": "txpool.pending_txn",
99
+ "params": [txn_hash],
100
+ }
101
+ ret = self.execute(operation)
102
+ return ret
103
104
def get_block_by_number(self, number: int) -> dict:
105
operation = {
0 commit comments