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: