# API

## Account

## Query account list

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/account`&#x20;

list transfer

{% tabs %}
{% tab title="200: OK Transactions found" %}

```json
{
   "total": 15261, // Total number of accounts or data entries
   "data": [ // Array of account information
     {
       "address": "TUG4nwPm4kEMQ5DJuNwfWYddSzhrdJntmA", // Account address
       "name": "", // The name of the account, this is empty
       "balance": 1651950590, //The balance of the account
       "power": 0, // The power or influence of the account, here it is 0
       "tokenBalances": {}, // Token balance held by the account
       "dateCreated": 1706516345435, // Date and time the account was created, timestamp in milliseconds
       "dateUpdated": 1706516345435 // The date and time the account was last updated
     },
     {
       //The following is similar information for other accounts
```

{% endtab %}
{% endtabs %}

## Query account address

<mark style="color:blue;">`GET`</mark> `/api/account/address`

&#x20;\
Account details

#### Path Parameters

| Name                                      | Type   | Description     |
| ----------------------------------------- | ------ | --------------- |
| address<mark style="color:red;">\*</mark> | String | Account address |

{% tabs %}
{% tab title="200: OK Transactions found" %}

```json

      
```

{% endtab %}
{% endtabs %}

## Trade

## Query transaction list

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/transaction/`&#x20;

list transfer

{% tabs %}
{% tab title="200: OK Transactions found" %}

```json
{
   "hash": "5f26a138efb1ff275a3ccfc0e4eaef34271632a31be463a491df8395135eae75", // The unique identifier of the transaction (hash value)
   "block": 538534, //The block number where the transaction is located
   "timestamp": 1706698197000, // Transaction timestamp (millisecond level)
   "confirmed": true, // Whether the transaction has been confirmed
   "ownerAddress": "TLDpA2UR46N6AnZdVjNyQ9XSMpZzfqUV14", // The address of the transaction initiator
   "toAddress": "TGGonVbbSFE3JksoTmemQUD2M4p8XFUEZo", // The address of the transaction recipient
   "contractData": { // Contract data related to the transaction
     "to": "TGGonVbbSFE3JksoTmemQUD2M4p8XFUEZo", // The recipient address in the contract data
     "from": "TLDpA2UR46N6AnZdVjNyQ9XSMpZzfqUV14", // The sender address in the contract data
     "amount": 76000 // Transaction amount
   },
   "contractType": 1, // Contract type, 1 here may represent a specific transaction or contract type
   "data": "", // Data attached to the transaction, empty here
   "fee": 1000010 // Transaction fee
   ...//More arrays
}
```

{% endtab %}
{% endtabs %}

## Query transaction Hash

<mark style="color:blue;">`GET`</mark> `/api/transaction/hash`&#x20;

Find transaction by hash

#### Path Parameters

| Name                                   | Type   | Description                                                      |
| -------------------------------------- | ------ | ---------------------------------------------------------------- |
| hash<mark style="color:red;">\*</mark> | String | Transaction hash value, used to uniquely identify a transaction. |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "hash": "17b3350fc1943e3810cebf6de2bd4bae0f1675f524566a9a8de766c04cb5d90f", // The unique identifier of the transaction
   "block": 683458, // block height
   "timestamp": 1707141843000, // Transaction timestamp, in milliseconds
   "confirmed": true, // Network confirmation status
   "ownerAddress": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk", // The initiator of the transaction
   "toAddress": "TT9DWxqGnEdfuthob8NKvFhkc7DZeE2YpL", // The recipient of the transaction
   "contractData": { // If the transaction involves a smart contract, contract-related data will be included
     "to": "TT9DWxqGnEdfuthob8NKvFhkc7DZeE2YpL", // The target address of the contract call
     "from": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk", // The initiator address of the contract call
     "amount": 147536 // Amount of tokens
   },
   "contractType": 1, // type
   "data": "", // Additional data for the transaction
   "fee": 1000010 // Transaction fee
}
```

{% endtab %}
{% endtabs %}

## Block

## Query block list

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/block`&#x20;

List blocks

{% tabs %}
{% tab title="200: OK Blocks found" %}

```json
{
   "total": 0,
   "data": [
     {
       "number": 676762, // block number
       "hash": "00000000000a539a9ed6fde99d2a46191e09169ca0ba1e50850d33ae6127882a", // The hash value of the block
       "size": 176, // block size
       "timestamp": 1707121347000, // The timestamp of the block
       "txTrieRoot": "11111111111111111111111111111111273Yts", // The root hash value of the transaction Trie tree
       "parentHash": "00000000000a53995fdaa489041b628a73b82076e6a12792b69bf5e31eb7b610", // Hash value of the parent block
       "witnessId": 0, //Broadcast ID
       "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Broadcast address
       "nrOfTrx": 0, // Number of transactions in this block
       "confirmed": true // Whether the block has been confirmed
     },
     {
       "number": 676768, // block number
       "hash": "00000000000a53a01fc66a121ecdf4f590b19fb033b46950a4a6b57d5d8a961c", // The hash value of the block
       "size": 176, // block size
       "timestamp": 1707121365000, // The timestamp of the block
       "txTrieRoot": "11111111111111111111111111111111273Yts", // The root hash value of the transaction Trie tree
       "parentHash": "00000000000a539f539bd19c1b2de490b2835e350dcca2ab5aa33c89b3355b28", // Hash value of the parent block
       "witnessId": 0, // Broadcast ID
       "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Broadcast address
       "nrOfTrx": 0, // Number of transactions in this block
       "confirmed": true // Whether the block has been confirmed
     }
   ]
}
```

{% endtab %}
{% endtabs %}

## Query the latest block

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/block/latest`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "number": 685857, //The number of the latest block
   "hash": "00000000000a772116208ef91a03f1b42d3266a6d83b564c505c8c73201e440f", // The unique identifier (hash value) of the block, used to identify the block
   "size": 176, //The size of the block in bytes
   "timestamp": 1707149190000, // The timestamp of the block, in milliseconds
   "txTrieRoot": "11111111111111111111111111111111273Yts", // The root hash value of the transaction Trie tree, used to quickly find and verify transactions in the block
   "parentHash": "00000000000a7720e0b9c2f7db8bf79fe7bb9d2527099c6738736dc4bff54278", // The hash value of the parent block, pointing to the previous block on the chain
   "witnessId": 0, // ID of the verifier
   "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Verifier's address
   "nrOfTrx": 0, // Number of transactions in this block
   "confirmed": false //quconfirmed status
}
```

{% endtab %}
{% endtabs %}

## Sync block

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/block/sync`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{  
  0  
}
```

{% endtab %}
{% endtabs %}

## Query the specified block

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/block/id`

Find latest block

#### Path Parameters

| Name                                 | Type   | Description  |
| ------------------------------------ | ------ | ------------ |
| ID<mark style="color:red;">\*</mark> | String | Block number |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "number": 685857, //The number of the latest block
   "hash": "00000000000a772116208ef91a03f1b42d3266a6d83b564c505c8c73201e440f", // The unique identifier (hash value) of the block, used to identify the block
   "size": 176, //The size of the block in bytes
   "timestamp": 1707149190000, // The timestamp of the block, in milliseconds
   "txTrieRoot": "11111111111111111111111111111111273Yts", // The root hash value of the transaction Trie tree, used to quickly find and verify transactions in the block
   "parentHash": "00000000000a7720e0b9c2f7db8bf79fe7bb9d2527099c6738736dc4bff54278", // The hash value of the parent block, pointing to the previous block on the chain
   "witnessId": 0, // ID of the verifier
   "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Verifier's address
   "nrOfTrx": 0, // Number of transactions in this block
   "confirmed": false //quconfirmed status
}
```

{% endtab %}
{% endtabs %}

## FULL Node GRPC

## Check account

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/getaccount /address`

Find latest block

#### Path Parameters

| Name                                      | Type   | Description    |
| ----------------------------------------- | ------ | -------------- |
| address<mark style="color:red;">\*</mark> | String | target address |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "accountName": "", // Account name
     "type": 0, // type
     "typeName": "Normal", // The name of the account type
     "address": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk", // Account address,
     "balance": 11982401146, // Account balance
     "votes": [], // voting list
     "asset": {}, // Account asset information
     "frozen": [], // List of frozen assets
     "netUsage": 0, // Network usage
     "createTime": 1706856216000, // Account creation time, timestamp in milliseconds.
     "latestOperationTime": 1707145623000, // The time of the last operation of the account, timestamp in milliseconds.
     "allowance": 0, // Allowed operation amount
     "latestWithdrawTime": 0, // The last time the account was withdrawn
     "code": "", // Account-related code
     "isWitness": false, // Whether it is a validator
     "isCommittee": false, // Whether to be a committee member
     "frozenSupply": [], // Frozen supply list
     "assetIssuedName": "", // The name of the issued asset
     "latestAssetOperationTime": {}, // The time of the account's most recent asset operation
     "freeNetUsage": 1408, // Free network usage
     "freeAssetNetUsage": {}, // Free asset network usage
     "latestConsumeTime": 0, //Last consumption time
     "latestConsumeFreeTime": 1707145608000 // The latest free consumption time, timestamp in milliseconds.
   }
}
```

{% endtab %}
{% endtabs %}

## Query node list

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/listnodes`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{ }
```

{% endtab %}
{% endtabs %}

## Query designated account

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/getaccountnet/address`

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "freeNetUsed": 1398, // The amount of free network used
     "freeNetLimit": 1500, // Free network limit
     "netUsed": 0, // The amount of network used
     "netLimit": 0, // network limit
     "assetNetUsed": {}, // The amount of asset network used
     "assetNetLimit": {}, // Asset network limit
     "totalNetLimit": 43200000000, // Total network limit
     "totalNetWeight": 0 //Total network weight
   }
}
```

{% endtab %}
{% endtabs %}

## Query the latest block

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/getnowblock`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "number": 686336, // block number
     "hash": "00000000000a7900f3a031b32f789489a49ee97ffc392e5a3dd2be9f824a8865", // Block hash: The unique identifier of the block, usually calculated from the contents of the block header.
     "timestamp": 1707150657000, // Timestamp, usually a UNIX timestamp in milliseconds.
     "txTrieRoot": "00000000000000000000000000000000000000000000000000000000000000", // Transaction Trie Root
     "parentHash": "00000000000a78ff8b90a3760cd1be9224639186cac07c4a6408c9f9e968d952", // Parent block hash
     "witnessId": 0, // Verifier ID
     "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", //Verifier address
     "transactions": [] // Transaction list
   }
}
```

{% endtab %}
{% endtabs %}

## Query block

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/getblockbynum/number`

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "number": 686336, // block number
     "hash": "00000000000a7900f3a031b32f789489a49ee97ffc392e5a3dd2be9f824a8865", // Block hash: The unique identifier of the block, usually calculated from the contents of the block header.
     "timestamp": 1707150657000, // Timestamp, usually a UNIX timestamp in milliseconds.
     "txTrieRoot": "00000000000000000000000000000000000000000000000000000000000000", // Transaction Trie Root
     "parentHash": "00000000000a78ff8b90a3760cd1be9224639186cac07c4a6408c9f9e968d952", // Parent block hash
     "witnessId": 0, // Verifier ID
     "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", //Verifier address
     "transactions": [] // Transaction list
   }
}
```

{% endtab %}
{% endtabs %}

## Query transaction

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/gettransactionbyid/hash`

Find latest block

#### Path Parameters

| Name                                   | Type   | Description       |
| -------------------------------------- | ------ | ----------------- |
| hash<mark style="color:red;">\*</mark> | String | unique identifier |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "hash": "c619661eb9991595aabe17a456ef36412436c7220f38d5a2b86cef7cb6f80c30", // The hash value of the transaction is the unique identifier of the transaction
     "timestamp": 1707145608729, // The timestamp of the transaction, indicating the time when the transaction was created
     "contracts": [ // List of contracts included in the transaction
       {
         "contractType": "TransferContract", // The contract type is "TransferContract", indicating that this is a transfer contract
         "contractTypeId": 1, //Contract type ID, 1 means this is the first contract type
         "from": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk", // The sender address of the transfer
         "to": "TLw78JAP9SVns6LLtU5zDATGMrxjmSpWo9", // The recipient address of the transfer
         "amount": 231757 //Amount of transfer
       }
     ],
     "data": "", // This part is usually additional data related to the contract
     "signatures": [ // Signature list, used to verify the legitimacy of transactions
       {
         "bytes": "G0bydUQuSwbtJQ/gwguRuGWq/qD2jktvrnIGZlirToMzlNe42y/NSklnv2ux8nmW5qxZWwJ5GUFEQZfkcY1b8gs=", // Bytes representation of signature
         "address": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk" // Signature address
       }
     ]
   }
}
```

{% endtab %}
{% endtabs %}

## Query node list

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/listwitnesses`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": [
     {
       "voteCount": 0, //The number of votes for this node
       "pubKey": "", // The public key of the node
       "url": "https://botc.pro", // URL address of the node
       "totalProduced": 686522, // The total number of blocks produced (or confirmed) by this node
       "totalMissed": 0, //The number of blocks missed by this node
       "latestBlockNum": 686522,//The block number recently produced by this node
       "latestSlotNum": 569050409, //The latest time slot number of this node
       "isJobs": true //Indicates whether the node is a job node
     },
     {
       "voteCount": 0,
       "pubKey": "",
       "url": "https://www.qtu.world/",
       "totalProduced": 0,
       "totalMissed": 0,
       "latestBlockNum": 0,
       "latestSlotNum": 0,
       "isJobs": false
     },
     {
       "voteCount": 0,
       "pubKey": "",
       "url": "https://node.botc.pro",
       "totalProduced": 0,
       "totalMissed": 0,
       "latestBlockNum": 0,
       "latestSlotNum": 0,
       "isJobs": false
     },
```

{% endtab %}
{% endtabs %}

## Inquiry pending

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/grpc/full/totaltransaction`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{  }
```

{% endtab %}
{% endtabs %}

## Query transaction information

<mark style="color:blue;">`GET`</mark> `/api/grpc/full/gettransactioninfobyid/hash`

Find latest block

#### Path Parameters

| Name                                   | Type   | Description       |
| -------------------------------------- | ------ | ----------------- |
| hash<mark style="color:red;">\*</mark> | String | unique identifier |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "fee": 0, // transaction fee
     "blockNumber": 684688, //The block number where it is located
     "blockTimestamp": 1707145611000, // The timestamp of the block
     "contractAddress": "3QJmnh", // Contract address
     "resultMessage": "", // result message
     "result": "SUCESS", // Operation result
     "unfreezeAmount": 0, // Unfreeze amount
     "withdrawAmount": 0 //Withdraw amount
   }
}
```

{% endtab %}
{% endtabs %}

## Query address transaction information

<mark style="color:blue;">`GET`</mark> `/api/grpc/full/gettransactionsfromthis/Address`

Find latest block

#### Path Parameters

| Name                                      | Type   | Description    |
| ----------------------------------------- | ------ | -------------- |
| address<mark style="color:red;">\*</mark> | String | wallet address |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "fee": 0, // transaction fee
     "blockNumber": 684688, //The block number where it is located
     "blockTimestamp": 1707145611000, // The timestamp of the block
     "contractAddress": "3QJmnh", // Contract address
     "resultMessage": "", // result message
     "result": "SUCESS", // Operation result
     "unfreezeAmount": 0, // Unfreeze amount
     "withdrawAmount": 0 //Withdraw amount
   }
}
```

{% endtab %}
{% endtabs %}

## Fund

## Inquiry pending

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/fund`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "totalBalance": [0], // array
   "data": []
}
```

{% endtab %}
{% endtabs %}

## Trancaction Builder

## Inquiry about transfer

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/transfer`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "total": 0, // Indicates the total number of transaction records
   "data": [
     {
       "id": "1e1a5fdd-09c4-4247-997a-f84b53e16f48", // The unique ID of the transaction
       "transactionHash": "6a617c0667fd3a710a95d78d212a6e72df3c005ff7d3f53d3765cc81156151ea", // Hash value of transaction
       "block": 0, // The height of the block where the transaction is located
       "timestamp": 0, // Transaction timestamp
       "transferFromAddress": "7YxAaK71utTpYJ8u4Zna7muWxd1pQwimpGxy8", // The address to transfer the tokens from
       "transferToAddress": "TPL66VK2gCXNCD7EJg9pgJRfqcRazjhUZY", //The address to transfer the tokens to
       "amount": 95000000000000000, // transaction amount
       "tokenName": "BOTC", // Token name, the initial default is TRX
       "confirmed": true // Confirmation mark
     },
     {
       //Other arrays...
```

{% endtab %}
{% endtabs %}

## Query transfer hash

<mark style="color:blue;">`GET`</mark> `https://api.botc.pro/api/transferhash`

Find latest block

#### Path Parameters

| Name                                   | Type   | Description       |
| -------------------------------------- | ------ | ----------------- |
| hash<mark style="color:red;">\*</mark> | String | unique identifier |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "id": "f7920e13-463c-4ac7-b689-d945611460c4", // The unique identifier of the transaction
   "transactionHash": "c619661eb9991595aabe17a456ef36412436c7220f38d5a2b86cef7cb6f80c30", // The hash value of the transaction, which is the unique identifier of the transaction on the blockchain.
   "block": 684688, // In which block the transaction is included
   "timestamp": 1707145611000, // The timestamp of the transaction, usually in milliseconds
   "transferFromAddress": "TF845sudduRYCuna4EkQwmdwNLsHZztUWk", // The address of the transaction initiator
   "transferToAddress": "TLw78JAP9SVns6LLtU5zDATGMrxjmSpWo9", // The address of the transaction recipient
   "amount": 231757, // Amount of transaction tokens
   "tokenName": "BOTC", // The name of the token being traded, the initial default is TRX.
   "confirmed": true // Transaction confirmation status
}
```

{% endtab %}
{% endtabs %}

## Solidity GRPC&#x20;

## Inquiry pending

<mark style="color:blue;">`GET`</mark> `/api/grpc/solidity/getaccount/address`

Find latest block

#### Path Parameters

| Name                                      | Type   | Description       |
| ----------------------------------------- | ------ | ----------------- |
| address<mark style="color:red;">\*</mark> | String | unique identifier |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "accountName": "", // Account name
     "type": 0, // Account type
     "typeName": "Normal", // The name of the account type
     "address": " ", // The address of the account
     "balance": 11982401146, // Account balance
     "votes": [], // Information about which witnesses or committee members the account voted for,
     "asset": {}, // Asset information held by the account
     "frozen": [], // Information about frozen assets or tokens in the account
     "netUsage": 0, // Account's network usage
     "createTime": 1706856216000, // Timestamp of account creation time, in milliseconds
     "latestOperationTime": 1707145623000, // The timestamp of the last operation of the account, in milliseconds
     "allowance": 0, // The operation limit allowed by the account,
     "latestWithdrawTime": 0, // The timestamp of the account's last withdrawal, in milliseconds
     "code": "", // The smart contract code or related information associated with the account
     "isWitness": false, // Identifies whether the account is a validator
     "isCommittee": false, // Identifies whether the account is a committee member
     "frozenSupply": [], // Frozen supply information in the account
     "assetIssuedName": "", // The name of the asset issued by the account
     "latestAssetOperationTime": {}, // The timestamp of the account's last asset operation
     "freeNetUsage": 1358, // Account's free network usage
     "freeAssetNetUsage": {}, // Account's free asset network usage
     "latestConsumeTime": 0, // The timestamp of the last time the account consumed resources, in milliseconds
     "latestConsumeFreeTime": 1707145608000 // The timestamp of the last time the account consumed resources for free, in milliseconds
   }
}
```

{% endtab %}
{% endtabs %}

## Query the latest block

<mark style="color:blue;">`GET`</mark> `/api/grpc/solidity/getnowblock`&#x20;

Find latest block

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "number": 687134, //Height of block
     "hash": "00000000000a7c1e6f9c552ae98e4245bf36484a8fdaaf19872a9a6fb2164984", // The hash value of the block
     "timestamp": 1707153099000, // The timestamp of the block,
     "txTrieRoot": "00000000000000000000000000000000000000000000000000000000000000", // The root hash value of the transaction Trie tree
     "parentHash": "00000000000a7c1d007c481119414cd29600366f679e49f165489dc6b526e8bc", // Hash value of the parent block
     "witnessId": 0, // ID of the verifier, here is 0
     "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Verifier's address
     "transactions": [] // List of transactions in this block
   }
}
```

{% endtab %}
{% endtabs %}

## Query node block

<mark style="color:blue;">`GET`</mark> `/api/grpc/solidity/getblockbynum/number`

Find latest block

#### Path Parameters

| Name                                     | Type   | Description  |
| ---------------------------------------- | ------ | ------------ |
| number<mark style="color:red;">\*</mark> | String | block number |

{% tabs %}
{% tab title="200: OK successful operation" %}

```json
{
   "data": {
     "number": 687134, //Height of block
     "hash": "00000000000a7c1e6f9c552ae98e4245bf36484a8fdaaf19872a9a6fb2164984", // The hash value of the block
     "timestamp": 1707153099000, // The timestamp of the block,
     "txTrieRoot": "00000000000000000000000000000000000000000000000000000000000000", // The root hash value of the transaction Trie tree
     "parentHash": "00000000000a7c1d007c481119414cd29600366f679e49f165489dc6b526e8bc", // Hash value of the parent block
     "witnessId": 0, // ID of the verifier, here is 0
     "witnessAddress": "T9yd98bcDK6o9FuAf28JKgcMkQk5WFTwNc", // Verifier's address
     "transactions": [] // List of transactions in this block
   }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://botccoin.gitbook.io/botccoin-developer-book/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
