Skip to main content

/test_control/kill_node_or_producer

  • Method: POST
Required Parameters :::
  • 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
Required Parameters :::
  • 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
Required Parameters :::
  • params (object)
    • accounts: array of Name

Expected Output:
Adds accounts to the greylist.


/master/remove_greylist_accounts

  • Method: POST
Required Parameters :::
  • params (object)
    • accounts: array of Name

Expected Output:
Removes accounts from the greylist.


/master/set_whitelist_blacklist

  • Method: POST
Required Parameters :::
  • params (object)
    • actor_whitelist, actor_blacklist: array of Name
    • contract_whitelist, contract_blacklist: array of Name
    • action_blacklist: array of arrays containing Name
    • key_blacklist: array of KeyType

Expected Output:
Sets the whitelist and blacklist for actors, contracts, actions, and keys.


/master/create_snapshot

  • Method: POST
Required Parameters :::
  • next (object)
    • snapshot_name: string
    • head_block_id: Sha256

Expected Output:
Creates a snapshot of the current state.


/get_account

  • Method: POST
Required Parameters :::

Expected Output:
Returns the account details.


/get_block

  • Method: POST
Required Parameters :::
  • 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
Required Parameters :::

Expected Output:
Retrieves the currency balance of an account.


/net/connect

  • Method: POST
Required Parameters :::
  • endpoint: string (IP address or URL)

Expected Output:
Connects to the specified endpoint.


/net/disconnect

  • Method: POST
Required Parameters :::
  • endpoint: string (IP address or URL)

Expected Output:
Disconnects from the specified endpoint.


/trace_api/get_block

  • Method: POST
Required Parameters :::
  • block_num: integer

Expected Output:
Returns the trace details of the specified block.