get_block_time
Retrieve the estimated production time of a specific block on the Solana blockchain by providing its slot number. Returns the block time in a clear, formatted string.
Instructions
Fetch the estimated production time of a block.
Args: slot (int): Block slot number
Returns: str: Block time in the format "Block time: {time}"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
slot | Yes |
Input Schema (JSON Schema)
{
"properties": {
"slot": {
"title": "Slot",
"type": "integer"
}
},
"required": [
"slot"
],
"title": "get_block_timeArguments",
"type": "object"
}