Skip to content
简体中文
Sourceget_block

​Parameters

​slot number
u64
required
Slot number.
​config
string | object
Configuration object. For backwards compatibility, this parameter also accepts a bare encoding string, but prefer the object form.
Passing a bare encoding string as the second positional parameter is deprecated. Use the configuration object instead.
When this parameter is an object, it may contain the following fields:

​Result

​result
object | null
If specified block is not confirmed result will be null. Otherwise, an object containing:This top-level response uses the shared Confirmed Blocks structure.