/test_control/kill_node_or_producer
- Method: POST
- params (object)
- master: Name
- where_in_sequence: integer
- based_on_lib: integer
Expected Output:
Returns the status of the node or master being killed.
/db_size/get
- Method: POST
Expected Output:
Retrieves the current size of the database.
/master/pause
- Method: POST
Expected Output:
Pauses the master.
/master/resume
- Method: POST
Expected Output:
Resumes activity for the master.
/master/paused
- Method: POST
Expected Output:
Checks whether the master is paused.
/master/get_runtime_options
- Method: POST
Expected Output:
Retrieves the runtime options for the master.
/master/update_runtime_options
- Method: POST
- options (object)
- max_transaction_time: integer
- max_irreversible_block_age: integer
- produce_time_offset_us: integer
- last_block_time_offset_us: integer
- max_scheduled_transaction_time_per_block_ms: integer
- subjective_cpu_leeway_us: integer
- incoming_defer_ratio: integer
Expected Output:
Updates the runtime options for the master.
/master/add_greylist_accounts
- Method: POST
- params (object)
- accounts: array of Name
Expected Output:
Adds accounts to the greylist.
/master/remove_greylist_accounts
- Method: POST
- params (object)
- accounts: array of Name
Expected Output:
Removes accounts from the greylist.
/master/set_whitelist_blacklist
- Method: POST
Expected Output:
Sets the whitelist and blacklist for actors, contracts, actions, and keys.
/master/create_snapshot
- Method: POST
- next (object)
- snapshot_name: string
- head_block_id: Sha256
Expected Output:
Creates a snapshot of the current state.
/get_account
- Method: POST
- account_name: Name
Expected Output:
Returns the account details.
/get_block
- Method: POST
- block_num_or_id: string
Expected Output:
Returns details of the specified block.
/push_transaction
- Method: POST
Expected Output:
Pushes a transaction to the blockchain.
/get_currency_balance
- Method: POST
Expected Output:
Retrieves the currency balance of an account.
/net/connect
- Method: POST
- endpoint: string (IP address or URL)
Expected Output:
Connects to the specified endpoint.
/net/disconnect
- Method: POST
- endpoint: string (IP address or URL)
Expected Output:
Disconnects from the specified endpoint.
/trace_api/get_block
- Method: POST
- block_num: integer
Expected Output:
Returns the trace details of the specified block.