This is the API documentation for Arbor Wallet. It currently supports basic light wallet functionality.
name String
unit String
logo String
ticker String
agg_sig_me_extra_data String
precision Integer
blockchain_fee Integer
{
"name": "Chia",
"unit": "Mojo",
"logo": "/icons/blockchains/chia.png",
"ticker": "xch",
"agg_sig_me_extra_data": "ccd5bb71183532bff220ba46c268991a3ff07eb358e8255a65c30a2dce0e5fbb",
"precision": 12,
"blockchain_fee": 0
}type "send"
transactions List of Send Transaction
timestamp Integer (Milliseconds Since Epoch)
block Integer
fee Integer
{
"type": "send",
"transactions": [
{
"destination": "xch1abc",
"amount": 100
}
],
"timestamp": 42389610023,
"block": 812412,
"fee": 1
}type "receive"
transactions List of Receive Transaction
timestamp Integer (Milliseconds Since Epoch)
block Integer
fee Integer
{
"type": "receive",
"transactions": [
{
"sender": "xch1abc",
"amount": 100
}
],
"timestamp": 42389610023,
"block": 812412,
"fee": 1
}destination String (Address)
amount Integer
{
"destination": "xch1abc",
"amount": 100
}sender String (Address)
amount Integer
{
"sender": "xch1abc",
"amount": 100
}Receive Group or Send Group
Receive or Send
200 The request was valid and the response is the data requested.
400 The request was invalid and the response is the error message.
500 An internal error occurred and the response is the error message.
Creates a new cryptographically secure BIP-39 mnemonic phrase and AugSchemeMPL keypair.
phrase String
public_key String
private_key String
{
"phrase": "the quick brown fox jumps over the lazy dog is a sentence",
"public_key": "cafef00d",
"private_key": "cafef00d"
}Recovers a keypair from a mnemonic phrase.
phrase String
{
"phrase": "the quick brown fox jumps over the lazy dog is a sentence"
}phrase String
public_key String
private_key String
{
"phrase": "the quick brown fox jumps over the lazy dog is a sentence",
"public_key": "cafef00d",
"private_key": "cafef00d"
}Fetches the blockchain object from its ticker symbol.
blockchain String
{
"blockchain": "xch"
}blockchain Blockchain
{
"blockchain" {
"name": "Chia",
"unit": "Mojo",
"logo": "/icons/blockchains/chia.png",
"ticker": "xch",
"agg_sig_me_extra_data": "ccd5bb71183532bff220ba46c268991a3ff07eb358e8255a65c30a2dce0e5fbb",
"precision": 12,
"blockchain_fee": 0
}
}Fetches a list of blockchain objects.
blockchains List of Blockchain
{
"blockchains": [
{
"name": "Chia",
"unit": "Mojo",
"logo": "/icons/blockchains/chia.png",
"ticker": "xch",
"agg_sig_me_extra_data": "ccd5bb71183532bff220ba46c268991a3ff07eb358e8255a65c30a2dce0e5fbb",
"precision": 12,
"blockchain_fee": 0
}
]
}Converts a public key to a light wallet address. Wallet updates will be on new API versions, so continue using this version for old wallets.
public_key String
blockchain String (e.g. "xch")
{
"public_key": "cafef00d",
"blockchain": "xch"
}address String
{
"address": "xch1abc"
}address String
{
"address": "xch1abc"
}balance Integer
{
"balance": 100
}Fetches a list of wallet style transactions on a given address.
address String
{
"address": "xch1abc"
}transaction_groups List of Transaction Group
{
"transaction_groups": [
{
"type": "receive",
"transactions": [
{
"sender": "xch1abc",
"amount": 100
}
],
"timestamp": 42389610023,
"block": 812412,
"fee": 1
}
]
}Sends a given amount to a destination, authorized by a private key. The wallet is calculated from the private key on the fly, so it doesn't have to be provided.
private_key String
destination String (Address)
amount Integer
fee Integer
{
"private_key": "cafef00d",
"destination": "xch1abc",
"amount": 100,
"fee": 0
}status "success"
{
"status": "success"
}