Home

Filecoin.ChainGetTipSetByHeight

POST
https://fil.nownodes.io/rpc/v1

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. A null element inside the tipset key array is now rejected with an error; before, it was silently dropped. To use the current head, pass an empty array [] or null for the whole key. Returns the tipset at the specified chain epoch (height). If the tipset at the requested height is null (no blocks were mined at that epoch), it returns the most recent non-null tipset below the requested height. When the tipset key parameter is null, the current chain head is used as the reference point.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version. Must always be "2.0".

methodstringrequired

The name of the JSON-RPC method to invoke.

paramsArray<integer | Array<object>>required

Ordered list of parameters: the target epoch and an optional reference tipset key.

Show child attributes
One of

The target chain epoch (block height).

integer
Array<object> | null
Show child attributes
/string

CID of a block in the tipset.

idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing the tipset at the requested height.