General Usage

Accounts

Generate a new account

$arionum->generateAccount();

Generate a new account locally

$arionum->generateLocalAccount();

Get an address from a public key

$arionum->getAddress('public-key');

Get the alias for a specific address

$arionum->getAlias('address');

Get the public key for an address

$arionum->getPublicKey('address');

Get the balance for an address

$arionum->getBalance('address');

Get the pending balance for an address

$arionum->getPendingBalance('address');

Transactions

Get a list of transactions for an address

$arionum->getTransactions('address');

Get a list of transactions for a public key

$arionum->getTransactionsByPublicKey('address');

Get a specific transaction by its id

$arionum->getTransaction('transaction-id');

Blocks

Get the current block

$arionum->getCurrentBlock();

Get a specific block by its height

$arionum->getBlock(1);

Get transactions for a specific block

$arionum->getBlockTransactions('block-id');

Masternodes

Get a list of available masternodes on the network

$arionum->getMasternodes();

Node Details

Get details about the node

$arionum->getNodeInfo();

Get the version of the current node

$arionum->getNodeVersion();

Get details about the nodes sanity process

$arionum->getSanityDetails();

Get the number of transactions in the mempool

$arionum->getMempoolSize();

Other

Get a Base58-encoded version of a string

$arionum->getBase58('string-data');

Check the validity of an address

$arionum->checkAddress('address');

Check the validity of a signature

$arionum->checkSignature('signature', 'data', 'public_key');

Get a random number based on a specified block

$arionum->getRandomNumber(1, 1, 1000);