Skip to content

Commit

Permalink
update docs on get_tx
Browse files Browse the repository at this point in the history
  • Loading branch information
GitBolt committed Mar 8, 2024
1 parent c66373b commit 651425c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/pages/clients/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,15 @@ print(tokens)
```
</Code>

#### .get_transaction
Sends a request to the Solana RPC endpoint to retrieve a transaction by its signature.

<Code>
```python
def get_transaction(self, signature: Text, commitment: Optional[Commitment]=None) -> RPCResponse[TransactionElementType] | TransactionElement
```
</Code>

#### .request_airdrop
Requests the amount of lamport specified to be airdropped to the public key.

Expand Down
9 changes: 9 additions & 0 deletions docs/pages/clients/client_async.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,15 @@ print(tokens)
```
</Code>

#### .get_transaction
Sends a request to the Solana RPC endpoint to retrieve a transaction by its signature.

<Code>
```python
async def get_transaction(self, signature: Text, commitment: Optional[Commitment]=None) -> RPCResponse[TransactionElementType] | TransactionElement
```
</Code>

#### .request_airdrop
Requests the amount of lamport specified to be airdropped to the public key.

Expand Down

0 comments on commit 651425c

Please sign in to comment.