get_pool_info
Returns the alias registration and update requests that are currently sitting in the daemon's transaction pool and have not been confirmed in a block yet.
Request
{
"jsonrpc": "2.0",
"id": 0,
"method": "get_pool_info"
}
Response
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"aliases_que": [
{
"alias": "newuser",
"address": "NiRqzHVJfBJUj1WBUvHTPzYAJ4cKA6PQb2ZR33ZmS4Zp7DDcUxUE29nAkMtLPfCPXwPUgvYRZZ9NM2gN4uRRP1e12wTGSCMzn",
"comment": "Registered a moment ago",
"tracking_key": ""
}
],
"error_code": "",
"status": "OK"
}
}
Response information
- aliases_que - array of objects; the alias entries extracted from the transactions currently held in the pool. An alias listed here is pending: it is not resolvable yet and will only become active once the transaction carrying it is included in a block. Empty when no pool transaction carries an alias.
- alias - string; the alias name being registered or updated.
- address - string; the Nirmata address the alias will resolve to once confirmed.
- comment - string; user-defined comment set by the alias owner. Empty when no comment was provided.
- tracking_key - string; hex-encoded secret view key of the wallet, published voluntarily by the alias owner. Empty when the owner did not publish one.
- error_code - string; additional error detail. Empty on a successful call.
- status - "OK" on success. This method reads the transaction pool directly and does not wait for the node to finish synchronizing, so it does not return the "BUSY" status that most daemon methods can return (see Daemon RPC API).