Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests & update docs for the v2/txs/history endpoint #417

Open
wants to merge 1 commit into
base: neo4j
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
*.swp
dist
.vscode
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,18 +362,20 @@ We recommend querying using payment key hashes (`addr_vkh`) when possible (other
- 'REFERENCE_TX_NOT_FOUND'
- 'REFERENCE_BEST_BLOCK_MISMATCH'

**Note**: If `after.tx` value is missing - then the transactions within that block are not considered at all, and only transactions **AFTER** the block are selected.

Input

Up to 50 addresses in the request

```js
```ts
{
// byron addresses, bech32 address, bech32 stake addresses or addr_vkh
addresses: Array<string>,
// omitting "after" means you query starting from the genesis block
after?: {
block: string, // block hash
tx: string, // tx hash
tx?: string, // tx hash
},
untilBlock: string, // block hash - inclusive
}
Expand Down
Loading