Subscribing to Accounts
Subscribe requests related to streaming real-time account updates
{
"slots": {},
"accounts": {
"accountLabel": {
"account": string[], //account updates for these accounts
"owner": string[], //account updates for account with these owners
"filters": {
"memcmp": {bytes and offset} | undefined;
"datasize": string | undefined;
"tokenAccountState": boolean | undefined;
}
},
"transactions": {},
"blocks": {},
"blocksMeta": {},
"accountsDataSlice": [],
"commitment": CommitmentLevel.CONFIRMED //commitment level, can be finalized or processed as well
}Subscribe to account updates for a program
Subscribe to account updates of an address
Subscribe to account updates using Memory compare (memcmp)
Last updated