TriportRPC

getnextmaintenancetime

POSThttps://triport.io/rpc/tron/wallet/getnextmaintenancetime

Returns the next native Tron maintenance boundary.

Tron mainnettron:rpcfree+; tron_read_rpc: 15 / 20 / 100 / 250 RPS (free / basic / pro / business; default, unmeasured)

getnextmaintenancetime returns the next maintenance boundary represented by the native wallet response. It is a chain-schedule read, not a block lookup.

Use it when an application needs to observe the upcoming native maintenance transition. The operation has no historical selector and does not accept a block number.

Parameters

The request body is a required empty JSON object.

bodyobjectrequired
Must be {}; no request parameters are defined.

Response

The concrete response example is unknown because the OpenAPI contract does not include one. {} is a schema-valid placeholder; no undocumented timestamp field or unit is asserted here.

responseobject
Maintenance-boundary result with fields not enumerated by the contract.

Errors

Wallet failures use HTTP status plus JSON. See Tron errors.

HTTPMeaningWhen it happens
400Bad requestThe request body is malformed or not empty.
401UnauthorizedThe API key is missing or invalid.
403ForbiddenThe scope or tier does not permit the request.
429Rate limitedThe tron_read_rpc budget is exceeded.

Examples

const response = await fetch("https://triport.io/rpc/tron/wallet/getnextmaintenancetime", {
  method: "POST",
  headers: { "x-token": process.env.TRIPORT_API_KEY, "Content-Type": "application/json" },
  body: "{}",
});
const maintenance = await response.json();

Notes

  • The result represents a maintenance boundary, not a block height.
  • The response unit remains undocumented because no response schema or example specifies it.
  • Related: getchainparameters.