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

Clarify encoding of hash in the api docs #282

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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