2021-04-27 16:11:56 +02:00
@node cic-eth system maintenance
2021-04-27 17:51:50 +02:00
@appendix Admin API
2021-04-27 16:11:56 +02:00
The admin API is still in an early stage of refinement. User friendliness can be considerably improved.
All of the API calls are celery task proxies, and return @code{Celery.AsyncResult} unless otherwise noted.
In contrast to the client API module, this API does not currently implement a pluggable callback.
2021-04-27 17:51:50 +02:00
@appendixsection registry
2021-04-27 16:11:56 +02:00
Returns the @code{ContractRegistry} this instance of @code{cic-eth-tasker} is running on.
2021-04-27 17:51:50 +02:00
@appendixsection proxy-do
2021-04-27 16:11:56 +02:00
Execute an arbitary JSON-RPC request using the @code{cic-eth-tasker} blockchain node RPC connection.
2021-04-27 17:51:50 +02:00
@appendixsection default_token
2021-04-27 16:11:56 +02:00
Returns the default token symbol and address.
2021-04-27 17:51:50 +02:00
@appendixsection lock
2021-04-27 16:11:56 +02:00
Set lock bits, globally or per address
2021-04-27 17:51:50 +02:00
@appendixsection unlock
2021-04-27 16:11:56 +02:00
Opposite of lock
2021-04-27 17:51:50 +02:00
@appendixsection get_lock
2021-04-27 16:11:56 +02:00
Get the current state of a lock
2021-04-27 17:51:50 +02:00
@appendixsection tag_account
2021-04-27 16:11:56 +02:00
Associate an identifier with an account address (@xref{cic-eth system accounts})
2021-04-27 17:51:50 +02:00
@appendixsection have_account
2021-04-27 16:11:56 +02:00
Check whether a private key exists in the keystore able to sign on behalf of the given account (it actually performs a signature).
2021-04-27 17:51:50 +02:00
@appendixsection resend
2021-04-27 16:11:56 +02:00
Clone or resend a transaction
2021-04-27 17:51:50 +02:00
@appendixsection check_nonce
2021-04-27 16:11:56 +02:00
Returns diagnostics for nonce sequences per account, e.g. detect nonce gaps that block execution of further transactions.
2021-04-27 17:51:50 +02:00
@appendixsection fix_nonce
2021-04-27 16:11:56 +02:00
Re-orders all nonces by shifting all transaction nonces after the given transaction down by one. This has the additional effect of obsoleting the given transaction. Can be used to close gaps in the nonce sequencing. Use with care!
2021-04-27 17:51:50 +02:00
@appendixsection account
2021-04-27 16:11:56 +02:00
Return brief transaction info lists per account
2021-04-27 17:51:50 +02:00
@appendixsection tx
2021-04-27 16:11:56 +02:00
Return a complex transaction metadata object for a single transaction. The object assembles state from both the blockchain node and the custodial queue system.