Gold

Summary

Functions

Converts a float BTC amount to an Decimal

Returns the account associated with the given address

Returns the account associated with the given address, raising an exception on failure

Returns server’s total available balance

Returns server’s total available balance, raising an exception on failure

Returns a new bitcoin address for receiving payments

Returns a new bitcoin address for receiving payments

Returns a new bitcoin address for receiving payments, raising an exception on failure

Returns a new bitcoin address for receiving payments, raising an exception on failure

Returns most recent transactions in wallet

Returns most recent transactions in wallet

Returns most recent transactions in wallet

Returns most recent transactions in wallet

Returns most recent transactions in wallet, raising an exception on failure

Returns most recent transactions in wallet, raising an exception on failure

Returns most recent transactions in wallet, raising an exception on failure

Returns most recent transactions in wallet, raising an exception on failure

Functions

btc_to_decimal(btc)

Converts a float BTC amount to an Decimal.

getaccount(pid, address)

Returns the account associated with the given address.

getaccount!(pid, address)

Returns the account associated with the given address, raising an exception on failure.

getbalance(pid)

Returns server’s total available balance.

getbalance!(pid)

Returns server’s total available balance, raising an exception on failure.

getnewaddress(pid)

Returns a new bitcoin address for receiving payments.

getnewaddress(pid, account)

Returns a new bitcoin address for receiving payments.

getnewaddress!(pid)

Returns a new bitcoin address for receiving payments, raising an exception on failure.

getnewaddress!(pid, account)

Returns a new bitcoin address for receiving payments, raising an exception on failure.

listtransactions(pid)

Returns most recent transactions in wallet.

listtransactions(pid, account)

Returns most recent transactions in wallet.

listtransactions(pid, account, limit)

Returns most recent transactions in wallet.

listtransactions(pid, account, limit, offset)

Returns most recent transactions in wallet.

listtransactions!(pid)

Returns most recent transactions in wallet, raising an exception on failure.

listtransactions!(pid, account)

Returns most recent transactions in wallet, raising an exception on failure.

listtransactions!(pid, account, limit)

Returns most recent transactions in wallet, raising an exception on failure.

listtransactions!(pid, account, limit, offset)

Returns most recent transactions in wallet, raising an exception on failure.

start_link(config)