Wallets

Methods related to your wallets at Snapy.io. A wallet is defined as a set of addresses, independent from each other but usually from a common seed. Currently, you can create up to 5 wallets per user.

get
Wallets Info

https://beta.snapy.io/api/v1/wallets
Returns some basic info about your wallets at Snapy.
Request
Response
Headers
x-api-key
required
string
The API key you can find in your dashboard. Example: pub_5cc7743fd5f7fd24b2e9336e-61defadc-0e7e-4786-a011–0b9d900e263b
200: OK
{
"wallets": {
"walletCount": 5,
"wallets": [
{
"cipher": "yhMKYBEGs5yOqQCuGnfjR/tK0nm6fu7byAQ5SeHMUarENur1HIja0vUwdEL8X9NBZF2wnQgaWKCd2ir19W+zago+RcPwQ4/Y3fTSUKr8aWABnmsAM4XFsJsGwOaxvIju",
"walletIndex": 1,
"extendedPublicKey": "a73d40164374c709e6f892585c5832b48bde418eb00f43eb546b95d57ab46ae16ffd06a1fa09b60e83f2412f873d955fc98d09144970a9f4a1da04c1d5b457ee",
"addresses": 1
},
{
"cipher": "3fjsfCN/ftn71no2oILDrpfnlP0KzQVwAW1r3c1yUCOwMEYUWioyw64YaS3QPm8Rr8DV9yI/EFeeifSOBPY0NcaZ2aswlbVFi++0yMfd3/KI2SpS02m91pSzDBCc7+rS",
"walletIndex": 2,
"extendedPublicKey": "542f51e77340f4054c5b2d993ab77942ff36a7ce3307cfc629aff29a4ac44d665516aca277f03711629b2249f2fdb9180abae719138282fb38078bbf4d40a17a",
"addresses": 0
},
{
"cipher": "S/CG+Zt/1nD9P3YYaRfMTVX1u0FNzHQuGRGeBw+0Tg8eK4skWF5QpeR3SUp90LrL1SB2C34mtS35A/12chZrkMdwZwI0cbkNPTbZK0YhB2xLFq/kMlSPFYlASVZ0lowg",
"walletIndex": 3,
"extendedPublicKey": "b7ac50414a8064345f05222c49b9cbde55bdd5dbe9d4dece025c7c3fbe21756328bd703b024a1ed8c27397f08d4e0e5e42fa570e17c25176c34547d6a20833bd",
"addresses": 0
},
{
"cipher": "6ijO4q8TyA6Nq5zd7M0/hVm3DQqeKxs7b7O9vmoYqBE/Nx6CTwytS8xCi1t4kVaIUtAckDcFzhWxUNxpH97kLF09sq6nN0MSWLtPiCx/55UqpwP4ccTuPHb1SzWmP03w",
"walletIndex": 4,
"extendedPublicKey": "5b10412b6401c9213da639a5f82cbd64bb6e0a1e34fe005153b93aa0cb6c4bf95480a451e36549bd5c27c5faf29a35c3a437a88210437be4d5561b7287b2d5bf",
"addresses": 8
},
{
"cipher": "Ouy4p5QEjaKpZhexkIUbLwb1rQpk1ekepU1Q3l1PrIiJWEUv/P+ZpyozGYNc20Mc5uivsA8O1GabBkrjDkTQACAO/7OfsNQqMjmBVpWbrcJS/FGgTML/G3tfVnXjBbAU",
"walletIndex": 5,
"extendedPublicKey": "61b3e88b3afb53f3357bf5c8eebbca9059765c4ec37420fdc46a146e6475f989b99a0ed9364d9b3104a0029f9fa6e8b7ab2e79850da99e751214124e701eba01",
"addresses": 7
}
]
},
"status": "success"
}

post
Create Wallet

https://beta.snapy.io/api/v1/wallets
Creates a wallet to be used within Snapy. Returns a 24 word seed, the wallet identifier and its corresponding extended public key. The extended public key is like a "public seed", allows anyone to derive addresses without knowing the private keys. Should not be shared for privacy concerns, as anyone having it will have access to a list of your addresses; it will not compromise any funds though.
Request
Response
Headers
Content-type
required
string
Application/json
x-api-key
required
string
The API key you can find in your dashboard. Example: pub_5cc7743fd5f7fd24b2e9336e-61defadc-0e7e-4786-a011–0b9d900e263b
Body Parameters
password
required
string
A password with which encrypt the wallet keys.
Example Request
required
object
{ "password": "someSecurePassword" }
200: OK
{
"seed": "promote spike horse side kingdom fatal over wrestle wealth coil wood output decide circle transfer alter rifle bachelor stamp fever nation exhibit beef edit",
"extendedPublicKey": "3b576a3db6b56ff40916647f3863f23025a56816e5323a35f0154f45f8e2f9e7bbd36d95f2141f2ec68f6702ad0e3f6bdf510d2d791ad75040a4a61794c9f702",
"walletId": 1,
"status": "success"
}

post
Create Address

https://beta.snapy.io/api/v1/wallets/{walletId}/address
Generates a new address from the specified wallet. It is generated from the extended public key.
Request
Response
Path Parameters
walletId
required
integer
The wallet id. You can retrieve your wallet IDs with the wallet info endpoint. Currently limited between 1-5.
Headers
Content-type
required
string
Application/json
x-api-key
required
string
The API key you can find in your dashboard. Example: pub_5cc7743fd5f7fd24b2e9336e-61defadc-0e7e-4786-a011–0b9d900e263b
200: OK
{
"address": "xrb_1coq46qs17bq6of4bda5ftqoxyc1fa7doakgttjor6jdmjxexzr4adiphpff",
"addressIndex": 6,
"walletIndex": 5,
"status": "success"
}

post
Send

https://beta.snapy.io/api/v1/wallets/{walletId}/send
Sends Nano from the specified wallet. Units are in nano (or rai, 1,000,000 nano = 1 Nano). Optionally you can set the field from to specify from which address you want to send the funds. The response includes all the transactions involved in the send. In Snapy, your received transactions will not be pocketed until you need to spend them, so all the transactions pocketed to be able to perform a send will be returned here. Also, if the wallet balance is higher than the send but it is spread among different addresses, Snapy will automatically reorganize that balance to be able to send it. Those transactions appear in the rebalanceTxs field.
Request
Response
Path Parameters
walletId
required
integer
The wallet Id. You can check your wallets and IDs with the wallets info method above.
Headers
Content-type
required
string
Application/json
x-api-key
required
string
The API key you can find in your dashboard. Example: pub_5cc7743fd5f7fd24b2e9336e-61defadc-0e7e-4786-a011–0b9d900e263b
Body Parameters
from
optional
string
Origin address. If not set Snapy will figure out from where to send the transaction.
to
required
string
Destination Nano address.
amount
required
integer
The amount being sent in nano (rai). 1 Nano = 1000000 nano = 1000000 rai.
password
required
string
Your wallet password is required to decrypt your keys and be able to send the transaction.
Example Request
required
object
{ "to": "nano_16utdnbztf3411etaw....", "from (optional)": "nano_3qx1t....", "amount": 4000, "password": "yourwalletpassword" }
200: OK
{
"rebalanceTxs": {
"xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7": [
{
"type": "send",
"hash": "3C2E269D5FF39992CF622FE408D8CD13508ED1D1152C8DAC1EC4820375FEC919",
"from": "xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7",
"to": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"_rawBlock": "{\"hash\":\"3C2E269D5FF39992CF622FE408D8CD13508ED1D1152C8DAC1EC4820375FEC919\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7\",\"previous\":\"E4D650B9B7E9625E1918D16605CBEF03A06BEFF4D72FCDB7A38AFF99FA2BF9AC\",\"representative\":\"xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7\",\"balance\":\"0\",\"link\":\"1FC88F7D34B297A653DD6A41196EE9FD923D78210D1CFCC2005DDB736B9C679C\",\"link_as_account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"work\":false,\"signature\":\"9448ab09a70549f65566024a3b34afd54a68f0919dcc4b1a221acaf633b2bdd4d1abf68b873073681c9b9fd5994580627a21e0d241504b0981764caf6c47ee0d\"}}"
},
{
"type": "receive",
"hash": "E4D650B9B7E9625E1918D16605CBEF03A06BEFF4D72FCDB7A38AFF99FA2BF9AC",
"from": "xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "1A9CFAB5D33E10E15E0DE97D12D23431817B00DA0C2321802BA9F5B501DCF48E",
"_rawBlock": "{\"hash\":\"E4D650B9B7E9625E1918D16605CBEF03A06BEFF4D72FCDB7A38AFF99FA2BF9AC\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7\",\"previous\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"representative\":\"xrb_1sha94mf6aiyn71om4o67rrzcstkt48ecyi15a8kq7mw18t4pw1o9mdfqwo7\",\"balance\":\"1000000000000000000000000\",\"link\":\"1A9CFAB5D33E10E15E0DE97D12D23431817B00DA0C2321802BA9F5B501DCF48E\",\"link_as_account\":\"xrb_18nwzctx8hiiw7h1utdx4db5aee3he1fn5356814qchopn1xsx6gigcnmyoi\",\"work\":false,\"signature\":\"5923107fde9b2c9f584fb0dd9e2a7b9a3139af1c0f082ccbc5af9cbe9b7b3f61a7d8950807c45c03974d65c2b91f5e2869e538abefa5ba9d71793011c3296902\"}}"
}
],
"xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u": [
{
"type": "send",
"hash": "F6EEC550B6B7BC7CB731452E9D87DFB1A19CD72AFC63A831AD72E37221975BF5",
"from": "xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u",
"to": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"_rawBlock": "{\"hash\":\"F6EEC550B6B7BC7CB731452E9D87DFB1A19CD72AFC63A831AD72E37221975BF5\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u\",\"previous\":\"D4167724BCE6BE59D633B09654E3C2A0CD6FB6444C956C93374CFB85CDC94974\",\"representative\":\"xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u\",\"balance\":\"0\",\"link\":\"1FC88F7D34B297A653DD6A41196EE9FD923D78210D1CFCC2005DDB736B9C679C\",\"link_as_account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"work\":false,\"signature\":\"b61c5883caaddb47b0b1e303ed94d76a2f730f12c86513b11ae9d08e656038b03b43764b8890fe77a4a5842d0e8773c4be28e96bc67b82b42b24847f7be4e704\"}}"
},
{
"type": "receive",
"hash": "D4167724BCE6BE59D633B09654E3C2A0CD6FB6444C956C93374CFB85CDC94974",
"from": "xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "A97A0551A78E90153B1DC25D15AEC4352CFE94418BA9858D2E6E520DAAB618EB",
"_rawBlock": "{\"hash\":\"D4167724BCE6BE59D633B09654E3C2A0CD6FB6444C956C93374CFB85CDC94974\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u\",\"previous\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"representative\":\"xrb_1sbxs9f3eu4o6hgj64c89d4e9cdugzkzhfcai3udbyag8od7srhugy6jcz7u\",\"balance\":\"1000000000000000000000000\",\"link\":\"A97A0551A78E90153B1DC25D15AEC4352CFE94418BA9858D2E6E520DAAB618EB\",\"link_as_account\":\"xrb_3cdt1oath5ni4nxjuikx4pqeafbeztc654xbip8kwukk3pode89dz1ibyu3e\",\"work\":false,\"signature\":\"f3918fbcdde682d3d224c7c72f13e94a9976da392184ee6d9decbca66dcf29e027dae4f1ed596c2d0d03abdddd395f4844f37a79e579efacb2a00335279bdc0d\"}}"
}
],
"xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j": [
{
"type": "send",
"hash": "AD412E47629C96152F2A1B82A5DE946D8B0C3ED2710C7AA74B1B8B4E43786ADC",
"from": "xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j",
"to": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"_rawBlock": "{\"hash\":\"AD412E47629C96152F2A1B82A5DE946D8B0C3ED2710C7AA74B1B8B4E43786ADC\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j\",\"previous\":\"1F5D8191F1022B727C7F9FFD532A68F60E4081E84AF3F26756FB16C4065B1ED3\",\"representative\":\"xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j\",\"balance\":\"0\",\"link\":\"1FC88F7D34B297A653DD6A41196EE9FD923D78210D1CFCC2005DDB736B9C679C\",\"link_as_account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"work\":false,\"signature\":\"5f90082ef90e209849a754d32b9596c51347f4e08599a8951f0a11d9fdb267114b3a89b872c6acacd09e0411e728716bef0c6c280cca3c3a05e99b6445440b05\"}}"
},
{
"type": "receive",
"hash": "1F5D8191F1022B727C7F9FFD532A68F60E4081E84AF3F26756FB16C4065B1ED3",
"from": "xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "DCC95007D7F20FB8148322BD658C27CE23DE3E731B0F81B28869B39EEBA324EB",
"_rawBlock": "{\"hash\":\"1F5D8191F1022B727C7F9FFD532A68F60E4081E84AF3F26756FB16C4065B1ED3\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j\",\"previous\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"representative\":\"xrb_1ocsoduzt13jnzyj6ms1kgpyti37k58gozwbe47n55qrohkbgfb19y9erk4j\",\"balance\":\"1000000000000000000000000\",\"link\":\"DCC95007D7F20FB8148322BD658C27CE23DE3E731B0F81B28869B39EEBA324EB\",\"link_as_account\":\"xrb_3q8bc15xhwihq1ca8aoxep84hmj5urz988rhi8saitfmmuot8b9ddtfb1dse\",\"work\":false,\"signature\":\"d3b108378f82da50502d3873826433d4584ceba8ee8106847c42d5edd44db32435f585565feab344c1d164ded01b7dfffd6c88477d90ddaf17cfc24a8bc46d0e\"}}"
}
],
"xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby": [
{
"type": "send",
"hash": "3AEE5AF495F848822053966A37ABC4B2D8D9BFAB7A084C2FB845BA1F7264CE95",
"from": "xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby",
"to": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"_rawBlock": "{\"hash\":\"3AEE5AF495F848822053966A37ABC4B2D8D9BFAB7A084C2FB845BA1F7264CE95\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby\",\"previous\":\"51CF35D271091EC8D1CE421B053D66AE447FB453AC754B05CB416150B6167B96\",\"representative\":\"xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby\",\"balance\":\"0\",\"link\":\"1FC88F7D34B297A653DD6A41196EE9FD923D78210D1CFCC2005DDB736B9C679C\",\"link_as_account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"work\":false,\"signature\":\"9b56b8b5c86da85a417c622af2df0a75a0fe834102a8e4455043f9aa47458322216f62d8ff7573d16cd2157773048fd99df2146c122680df016431eca5a58000\"}}"
},
{
"type": "receive",
"hash": "51CF35D271091EC8D1CE421B053D66AE447FB453AC754B05CB416150B6167B96",
"from": "xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "5C84E697DE8C4370B73CA55AC04756CF033F5F7FC62F9AB843B564CD491DBE2E",
"_rawBlock": "{\"hash\":\"51CF35D271091EC8D1CE421B053D66AE447FB453AC754B05CB416150B6167B96\",\"block\":{\"type\":\"state\",\"account\":\"xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby\",\"previous\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"representative\":\"xrb_1knoxgxpbcmreomrycfceheakd69u8astjoeekzan1tie76atoff4qt65fby\",\"balance\":\"1000000000000000000000000\",\"link\":\"5C84E697DE8C4370B73CA55AC04756CF033F5F7FC62F9AB843B564CD491DBE2E\",\"link_as_account\":\"xrb_1q66wtdxx545g4umsbctr35ofmr59xhqzjjhmcw69fd6so6juhjg96wie8hj\",\"work\":false,\"signature\":\"ac766dc41dcd60ab90aada44639b59e4a8ff8118b334db865f746c6c512c88901ff5c95da786e7bf7c1a61646c6427c5c588b9ed0a1435967ae122c5f65f050d\"}}"
}
]
},
"txs": [
{
"type": "send",
"hash": "209F0C8F01FD81D41FB7930DD390031EE7AD3DC1AD02EF7EE1DBFABDF100F5D2",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"to": "xrb_3tddtxizzrys9rxbsjx3fam9iz5zbib6unafwu9argizmnwxpjt8d1rwycpo",
"amount": 5,
"timestamp": "2019-10-02T20:41:13.146Z",
"_rawBlock": "{\"hash\":\"209F0C8F01FD81D41FB7930DD390031EE7AD3DC1AD02EF7EE1DBFABDF100F5D2\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"8FA0171B1A97EFA32E4356CEA912D04A5C1B40EE511EC0B90AE88821B8D950FD\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"0\",\"link\":\"E96BD761FFE3D93E3A9CC7A16A26787C7F4C124DD10DE6CE8C3A1F9D39DB4746\",\"link_as_account\":\"xrb_3tddtxizzrys9rxbsjx3fam9iz5zbib6unafwu9argizmnwxpjt8d1rwycpo\",\"work\":false,\"signature\":\"47a836c64e6abdf678f165acf3c5ac65f27f8fe0af535f833a7d02060e8eec720c312122ae6eca8e9693744e1149211b82e13ba4d13bd5b05978aee43b1b5507\"}}"
},
{
"type": "receive",
"hash": "8FA0171B1A97EFA32E4356CEA912D04A5C1B40EE511EC0B90AE88821B8D950FD",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "1C3CF3DDA866ABD37CE18D6E8A35C5D61CBD4CDC6EF6787022F35477C2BD035B",
"_rawBlock": "{\"hash\":\"8FA0171B1A97EFA32E4356CEA912D04A5C1B40EE511EC0B90AE88821B8D950FD\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"6F1E0542B294FF3A60C98A74ED3A1CEF91C64B32D9518A5D11890C40CB9B249E\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"5000000000000000000000000\",\"link\":\"1C3CF3DDA866ABD37CE18D6E8A35C5D61CBD4CDC6EF6787022F35477C2BD035B\",\"link_as_account\":\"xrb_193wyhgtisodtfyg55dgjatwdoiwqo8fruqph3r47wtngz3dt1tux5c3kjde\",\"work\":false,\"signature\":\"e031518ff875231550f156d5f14efc5d22ff4519ecd6d95b4373f8440dbc636f42ee787a636b2eec906b2b6b02095b1b6bfda46863b21d0b9f32e6bf12d03303\"}}"
},
{
"type": "receive",
"hash": "6F1E0542B294FF3A60C98A74ED3A1CEF91C64B32D9518A5D11890C40CB9B249E",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "3C2E269D5FF39992CF622FE408D8CD13508ED1D1152C8DAC1EC4820375FEC919",
"_rawBlock": "{\"hash\":\"6F1E0542B294FF3A60C98A74ED3A1CEF91C64B32D9518A5D11890C40CB9B249E\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"BDB444527C58263DD80C1DF56514E2DFE334DE0122779EAAB6A888F60D35FD30\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"4000000000000000000000000\",\"link\":\"3C2E269D5FF39992CF622FE408D8CD13508ED1D1152C8DAC1EC4820375FEC919\",\"link_as_account\":\"xrb_1h3g6tgozwwskd9p6dz635eet6tijuax47bejpp3xj641ftzxkasc9zitwsb\",\"work\":false,\"signature\":\"ff0614d616d85e4316a59ceda59d1ffaf2e28096baa43941068cf53e1485af301819ed304126d71dc56b7d8ae80dda5dce99f2a2257992b69260b0d251f22a08\"}}"
},
{
"type": "receive",
"hash": "BDB444527C58263DD80C1DF56514E2DFE334DE0122779EAAB6A888F60D35FD30",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "AD412E47629C96152F2A1B82A5DE946D8B0C3ED2710C7AA74B1B8B4E43786ADC",
"_rawBlock": "{\"hash\":\"BDB444527C58263DD80C1DF56514E2DFE334DE0122779EAAB6A888F60D35FD30\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"E0E8E1463A666AEBA605679409E36158EB962B98B8ADBFEE5A0C77B0CD3D4A1A\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"3000000000000000000000000\",\"link\":\"AD412E47629C96152F2A1B82A5DE946D8B0C3ED2710C7AA74B1B8B4E43786ADC\",\"link_as_account\":\"xrb_3dc37s5p796p4nqkn8w4nqhbaued3izf6waehcmnp8wdbs3qitpw5j5mozhs\",\"work\":false,\"signature\":\"135807b14736f095f1bdcbad2b1bb96ed5a6e8d3f132a79c2542aa1eecc0533fff1d55d9d9f52e4438b24ae4f3b368024ceebeb33e65e15949fbc1b44c71560e\"}}"
},
{
"type": "receive",
"hash": "E0E8E1463A666AEBA605679409E36158EB962B98B8ADBFEE5A0C77B0CD3D4A1A",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "F6EEC550B6B7BC7CB731452E9D87DFB1A19CD72AFC63A831AD72E37221975BF5",
"_rawBlock": "{\"hash\":\"E0E8E1463A666AEBA605679409E36158EB962B98B8ADBFEE5A0C77B0CD3D4A1A\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"8926491CEBEB0E1433CA2F1CA5FBDA15545F11954A97A21F737073F5668015A8\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"2000000000000000000000000\",\"link\":\"F6EEC550B6B7BC7CB731452E9D87DFB1A19CD72AFC63A831AD72E37221975BF5\",\"link_as_account\":\"xrb_3xqgroadffxwhkum4jbgmp5xzef3mmdkoz55o1rttwq5gaisgpzoc35gu8co\",\"work\":false,\"signature\":\"3653c7215e240ef3e3897345b13d96a0b1d39c68c19eaa3c1df3e0b2f2c7afa2c7ea346802515d52c540ee366ec5067703200df537c185e900d376cd1d0a9803\"}}"
},
{
"type": "receive",
"hash": "8926491CEBEB0E1433CA2F1CA5FBDA15545F11954A97A21F737073F5668015A8",
"from": "xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o",
"amount": 1,
"timestamp": "2019-10-02T20:41:13.146Z",
"sourceHash": "3AEE5AF495F848822053966A37ABC4B2D8D9BFAB7A084C2FB845BA1F7264CE95",
"_rawBlock": "{\"hash\":\"8926491CEBEB0E1433CA2F1CA5FBDA15545F11954A97A21F737073F5668015A8\",\"block\":{\"type\":\"state\",\"account\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"previous\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"representative\":\"xrb_19yajxymbenqnsbxttk357qgmzek9ow445awzm311qgugfosrswwm4u49h8o\",\"balance\":\"1000000000000000000000000\",\"link\":\"3AEE5AF495F848822053966A37ABC4B2D8D9BFAB7A084C2FB845BA1F7264CE95\",\"link_as_account\":\"xrb_1gqgddtbdy4aiai797mc8yowbepru8ztpyiabiquijft5xs8bmnopumhe89i\",\"work\":false,\"signature\":\"b0f2dabd25afc158555fd2009f8814cc482e31dd2b23c70fdb3edd195cc5a8689603e474bd5a984e35d267cf086551f92f9676c71988e454a8475eafb8ba120c\"}}"
}
],
"hash": "209F0C8F01FD81D41FB7930DD390031EE7AD3DC1AD02EF7EE1DBFABDF100F5D2",
"amount": 5,
"newBalance": 0,
"status": "success"
}

get
Wallet Balance

https://beta.snapy.io/api/v1/wallets/{walletId}/balance
Returns the specified wallet balance. Total and broken down by address.
Request
Response
Path Parameters
walletId
required
integer
The wallet Id. You can check your wallets and IDs with the wallets info method above.
Headers
x-api-key
required
string
The API key you can find in your dashboard. Example: pub_5cc7743fd5f7fd24b2e9336e-61defadc-0e7e-4786-a011–0b9d900e263b
200: OK
{
"addresses": {
"xrb_3zzytz119i61jc1g84p6dhbar5d4efr6cuiqe5wugc9r995ipd9habhbyf7p": 0,
"xrb_3z9193xohqyis6efx1fis6oc7tcrquyg9puu4wje6tcx7q4xmowanfm5s4st": 0,
"xrb_1k1r7gkyqersnneykh7ix3q9gic7icsa5xxzu149ws49mcwc4jogbmsqnsy4": 0,
"xrb_1ojwjaxkanyagwk1amhqd89qejkf9hhsuf6irx5n5rz9dsyhfbjr5gernrf8": 0,
"xrb_13zog7w1dz1zhnqwy3iw9hocsra4tjoo1a5ybr4zhd1d3bg4h8t8hh6rei9d": 0,
"xrb_1j4ie97417ce7d7tdbqf958mawm3g1u3obmnsidwwmsq1m6kdu8eto5zxzie": 0,
"xrb_1coq46qs17bq6of4bda5ftqoxyc1fa7doakgttjor6jdmjxexzr4adiphpff": 0
},
"balance": 0,
"walletIndex": 5,
"status": "success"
}