wallet/getNotes

Retrieves notes for the given account. If the account is not specified, the default account will be used.

Supports cursor-based pagination using the pageSize and pageCursor request parameters. Use the nextPageCursor from a response as the value of pageCursor in the next request to retrieve the next page of notes.

Supports filtering notes by any of the fields in the filter request parameter.

Types 

type StringMinMax = {
  min?: string
  max?: string
}

type GetNotesRequestFilter = {
  value?: StringMinMax
  assetId?: string
  memo?: string
  sender?: string
  noteHash?: string
  transactionHash?: string
  index?: number
  nullifier?: string
  spent?: boolean
}

Request 

{
  account?: string
  pageSize?: number
  pageCursor?: string
  filter?: GetNotesRequestFilter
}

Response 

{
  notes: Array<RpcWalletNote>
  nextPageCursor: string | null
}

RPC Objects:

  • RpcWalletNote
View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Use

  • Node App
  • Node CLI
  • Mine
  • Block Explorer
  • Ecosystem

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.