Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Clarify encoding of hash in the api docs (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bellamy authored Jan 25, 2023
1 parent 9d79c37 commit 5d31c2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/methods/getLatestLedger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ For finding out the current latest known ledger of this node. This is a subset o
## Returns

- `<object>`
- `id`: `<hash>` - hash of the latest ledger
- `id`: `<hash>` - hash of the latest ledger as a hex-encoded string
- `protocolVersion`: `<number>`
- `sequence`: `<number>`
4 changes: 2 additions & 2 deletions api/methods/getTransactionStatus.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Clients will poll this to tell when the transaction has been completed.

## Parameters

- `<hash>` - transaction hash to query
- `<hash>` - transaction hash to query, as a hex-encoded string

## Returns

Expand Down Expand Up @@ -104,4 +104,4 @@ Clients will poll this to tell when the transaction has been completed.
}
}
}
```
```
2 changes: 1 addition & 1 deletion api/methods/requestAirdrop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Maybe we could replace this with a 'friendbotUrl' field in `getNetwork` method?
## Returns

- `<object>`
- `transactionId`: `<hash>` - Transaction id of the transfer.
- `transactionId`: `<hash>` - Transaction id of the transfer as a hex-encoded string.

## Errors

Expand Down

0 comments on commit 5d31c2f

Please sign in to comment.