@@ -20,30 +20,29 @@ List all SLP tokens
2020
2121#### Examples
2222
23- curl -X GET "https://rest .bitcoin.com/v2/slp/list" -H "accept: */*"
23+ curl -X GET "https://trest .bitcoin.com/v2/slp/list" -H "accept: */*"
2424
2525 // returns
2626 [
27- {
28- "id": "545cba6f72a08cbcb08c7d4e8166267942e8cb9a611328805c62fa538e861ba4",
29- "timestamp": "2018-08-14 13:42",
30- "symbol": "",
31- "name": "",
32- "document": ""
33- },
34- {
35- "id": "83bfe019fcf976142c55e7c0ad4a429f4be1bc2cb138bd8d0bab8dd4cd4758c4",
36- "timestamp": "2018-08-14 13:57",
37- "symbol": "",
38- "name": "",
39- "document": ""
27+ {
28+ "id": "24686f336975796253be67ab3d6b1b304905f0f5d81fa934c581aba4da606f38",
29+ "timestamp": "2019-02-05 10:17",
30+ "symbol": "TESTNET1",
31+ "name": "SLP SDK Testnet Token 1",
32+ "documentUri": "badger@bitcoin.com",
33+ "documentHash": "",
34+ "decimals": 8,
35+ "initialTokenQty": 1000
4036 },
4137 {
42- "id": "323a1e35ae0b356316093d20f2d9fbc995d19314b5c0148b78dc8d9c0dab9d35",
43- "timestamp": "2018-08-14 17:53",
44- "symbol": "",
45- "name": "",
46- "document": ""
38+ "id": "78d57a82a0dd9930cc17843d9d06677f267777dd6b25055bad0ae43f1b884091",
39+ "timestamp": "2019-02-04 12:43",
40+ "symbol": "SLPSDK",
41+ "name": "Awesome SLP SDK Token",
42+ "documentUri": "badger@bitcoin.com",
43+ "documentHash": "",
44+ "decimals": 2,
45+ "initialTokenQty": 1000000
4746 }
4847 ]
4948
@@ -72,13 +71,16 @@ token `Object`
7271 // returns
7372 {
7473 "id": "259908ae44f46ef585edef4bcc1e50dc06e4c391ac4be929fae27235b8158cf1",
75- "timestamp": "2018-10-11 00 :39",
74+ "timestamp": "2018-10-11 02 :39",
7675 "symbol": "BROC",
7776 "name": "Broccoli",
78- "document": "broccoli.cash"
77+ "documentUri": "broccoli.cash",
78+ "documentHash": "",
79+ "decimals": 2,
80+ "initialTokenQty": 1000
7981 }
8082
81- ## Convert address
83+ <!-- ## Convert address
8284
8385Convert an address to cash, legacy and simpleledger format
8486
@@ -105,7 +107,7 @@ conversion `Object`
105107 "slpAddress": "simpleledger:qz9tzs6d5097ejpg279rg0rnlhz546q4fsnck9wh5m",
106108 "cashAddress": "bitcoincash:qz9tzs6d5097ejpg279rg0rnlhz546q4fslra7mh29",
107109 "legacyAddress": "1DeLbv5EMzLEFDvQ8wZiKeSuPGGtSSz5HP"
108- }
110+ } -->
109111
110112## Validate Bulk
111113
@@ -127,7 +129,16 @@ valid `Array` of txid strings
127129
128130#### Examples
129131
130- curl -X POST "https://rest.bitcoin.com/v2/slp/validate " -H "accept: */*" -H "Content-Type: application/json" -d "{\"txids\":[\"a5f972572ee1753e2fd2457dd61ce5f40fa2f8a30173d417e49feef7542c96a1 \",\"5165dc531aad05d1149bb0f0d9b7bda99c73e2f05e314bcfb5b4bb9ca5e1af5e \"]}"
132+ curl -X POST "https://rest.bitcoin.com/v2/slp/validateTxid " -H "accept: */*" -H "Content-Type: application/json" -d "{\"txids\":[\"88b121101d71b73599dfc7d79eead599031912b2c48298bf5c1f37f4dd743ffa \",\"fb0eeaa501a6e1acb721669c62a3f70741f48ae0fd7f4b8e1d72088785c51952 \"]}" "
131133
132134 // returns
133- []
135+ [
136+ {
137+ "txid": "88b121101d71b73599dfc7d79eead599031912b2c48298bf5c1f37f4dd743ffa",
138+ "valid": true
139+ },
140+ {
141+ "txid": "fb0eeaa501a6e1acb721669c62a3f70741f48ae0fd7f4b8e1d72088785c51952",
142+ "valid": true
143+ }
144+ ]
0 commit comments