Skip to content

Commit efdb5d3

Browse files
Update rpc/getAccountInfo.go
Co-authored-by: Sonic <sonic.from.new.yoke@gmail.com>
1 parent 57c625f commit efdb5d3

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

rpc/getAccountInfo.go

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,19 @@ type GetAccountInfoOpts struct {
8686
// This parameter is optional.
8787
MinContextSlot *uint64
8888

89-
// Return only if the account(s) have changed since this slot
89+
// ChangedSinceSlot, if set, asks the RPC node to return account data only
90+
// when it has changed since the given slot. Useful for incremental sync of
91+
// large programs (e.g. PumpFun) where a full getProgramAccounts is no longer
92+
// feasible.
93+
//
94+
// NOTE: This is NOT part of the official Solana JSON-RPC specification
95+
// (https://solana.com/docs/rpc/http). It is a non-standard extension
96+
// supported by some commercial RPC providers (e.g. Helius, FluxRPC).
97+
// Public RPC endpoints and stock agave-validator nodes will ignore this
98+
// field or reject the request. Verify support with your provider before
99+
// using.
100+
//
101+
// This parameter is optional.
90102
ChangedSinceSlot *uint64 `json:"changedSinceSlot,omitempty"`
91103
}
92104

0 commit comments

Comments
 (0)