pub struct ActionFilterOptionsInput {
pub address: String,
pub token_id: Option<String>,
pub status: Option<BlockStatusFilter>,
pub from: Option<i32>,
pub to: Option<i32>,
pub from_action_state: Option<String>,
pub end_action_state: Option<String>,
}Expand description
Filter actions from a specific account.
Only address is required. Omitting token_id makes the server default to
the MINA token, wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf, and
omitting status defaults it to BlockStatusFilter::All.
A range-less query is not “everything”. The server caps the block scan
at its configured BLOCK_RANGE_SIZE (10,000 by default), and the SDL warns
that you can get a partial result if you do not specify both from and
to. Page through a wide history with explicit bounds.
GraphQL Int is signed 32-bit, so the block-height bounds are i32.
A height computed from a u64 now fails to compile instead of coming back
as a runtime GraphQL validation error. Output heights stay i64 — widening
an output is safe and the server already sends values as Int.
Fields§
§address: String§token_id: Option<String>§status: Option<BlockStatusFilter>§from: Option<i32>Inclusive lower block-height bound. Int is 32-bit — see the type doc.
to: Option<i32>Exclusive upper block-height bound. Int is 32-bit — see the type doc.
from_action_state: Option<String>§end_action_state: Option<String>