On ThorNode
Forwarded to the upstream node with a 10 s timeout and one retry on a transport error.Parameters
This method takes no parameters.Response
integer
Lowest Solana slot number still maintained in this validator’s state replay buffer.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --fail-with-body "$THORNODE_RPC_URL" \
--header 'content-type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "minimumLedgerSlot"
}'
const body = {
"jsonrpc": "2.0",
"id": 1,
"method": "minimumLedgerSlot"
};
const response = await fetch(process.env.THORNODE_RPC_URL, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify(body),
});
const { result, error } = await response.json();
console.log(result ?? error);
{
"jsonrpc": "2.0",
"result": 439702524,
"id": 1
}
Returns the lowest slot that the node has information about in its ledger.
curl --fail-with-body "$THORNODE_RPC_URL" \
--header 'content-type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "minimumLedgerSlot"
}'
const body = {
"jsonrpc": "2.0",
"id": 1,
"method": "minimumLedgerSlot"
};
const response = await fetch(process.env.THORNODE_RPC_URL, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify(body),
});
const { result, error } = await response.json();
console.log(result ?? error);
{
"jsonrpc": "2.0",
"result": 439702524,
"id": 1
}