Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions blockapi/test/v2/api/data/unisat/collection_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"code": 0,
"msg": "OK",
"data": {
"height": 800000,
"holders": 150,
"totalItems": 1000
}
}
37 changes: 37 additions & 0 deletions blockapi/test/v2/api/data/unisat/collection_items.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"code": 0,
"msg": "OK",
"data": {
"total": 2,
"list": [
{
"inscriptionId": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"collectionId": "ordinal-punks",
"collectionItemName": "Ordinal Punk #1",
"inscriptionIndex": 1,
"inscriptionNumber": 12345,
"inscriptionName": "Ordinal Punk #1",
"contentBody": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"contentLength": 1024,
"contentType": "image/png",
"height": 800000,
"holders": 1,
"totalItems": 1000
},
{
"inscriptionId": "7fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"collectionId": "ordinal-punks",
"collectionItemName": "Ordinal Punk #2",
"inscriptionIndex": 2,
"inscriptionNumber": 12346,
"inscriptionName": "Ordinal Punk #2",
"contentBody": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"contentLength": 1024,
"contentType": "image/png",
"height": 800001,
"holders": 1,
"totalItems": 1000
}
]
}
}
21 changes: 21 additions & 0 deletions blockapi/test/v2/api/data/unisat/collection_stats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"code": 0,
"msg": "OK",
"data": {
"collectionId": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"name": "Ordinal Punks",
"desc": "The first 10,000 Punks inscribed on Bitcoin",
"icon": "https://ordinals.com/content/6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"iconContentType": "image/png",
"btcValue": 1.5,
"floorPrice": 0.1,
"pricePercent": 10.5,
"listed": 50,
"total": 1000,
"supply": 10000,
"twitter": "https://twitter.com/ordinalpunks",
"discord": "https://discord.gg/ordinalpunks",
"website": "https://ordinalpunks.com",
"verification": true
}
}
73 changes: 73 additions & 0 deletions blockapi/test/v2/api/data/unisat/inscription_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"code": 0,
"msg": "OK",
"data": {
"cursor": 1,
"total": 2,
"totalConfirmed": 2,
"totalUnconfirmed": 0,
"totalUnconfirmedSpend": 0,
"inscription": [
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"inscriptionId": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"inscriptionNumber": 12345,
"contentType": "image/png",
"contentLength": 1024,
"offset": 0,
"timestamp": 1672531200,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"codeType": 0,
"height": 800000,
"idx": 0,
"inscriptions": [
{
"inscriptionId": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"inscriptionNumber": 12345,
"isBRC20": false,
"moved": false,
"offset": 0
}
],
"isOpInRBF": false,
"satoshi": 10000,
"scriptPk": "0014a2b4c6d8e0f2a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4",
"scriptType": "p2wpkh",
"txid": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5",
"vout": 0
}
},
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"inscriptionId": "7fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"inscriptionNumber": 12346,
"contentType": "text/plain",
"contentLength": 512,
"offset": 0,
"timestamp": 1672531300,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"codeType": 0,
"height": 800001,
"idx": 0,
"inscriptions": [
{
"inscriptionId": "7fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"inscriptionNumber": 12346,
"isBRC20": false,
"moved": false,
"offset": 0
}
],
"isOpInRBF": false,
"satoshi": 10000,
"scriptPk": "0014a2b4c6d8e0f2a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4",
"scriptType": "p2wpkh",
"txid": "7fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5",
"vout": 0
}
}
]
}
}
69 changes: 69 additions & 0 deletions blockapi/test/v2/api/data/unisat/inscription_data_edge_cases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"code": 0,
"msg": "OK",
"data": {
"cursor": 0,
"total": 4,
"totalConfirmed": 4,
"totalUnconfirmed": 0,
"totalUnconfirmedSpend": 0,
"inscription": [
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"contentType": "image/png",
"contentLength": 1000,
"offset": 0,
"timestamp": 1234567890,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"txid": "txid1",
"vout": 0,
"satoshi": 10000
}
},
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"inscriptionId": "6fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"contentType": "image/png",
"contentLength": 1000,
"offset": 0,
"timestamp": 1234567890,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"txid": "txid2",
"vout": 0,
"satoshi": 10000
}
},
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"inscriptionId": "7fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"contentType": "image/png",
"contentLength": 1000,
"offset": 0,
"timestamp": 1234567890,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"txid": "txid3",
"vout": 0,
"satoshi": 10000
}
},
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"inscriptionId": "8fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5i0",
"inscriptionNumber": 2,
"contentType": "image/png",
"contentLength": 1000,
"offset": 0,
"timestamp": 1234567890,
"utxo": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"txid": "8fb976ab49dcec017f1e2015b625126c5c4d6b71174f5bc5af4f39b274a4b6b5",
"vout": 0,
"satoshi": 10000
}
}
]
}
}
60 changes: 60 additions & 0 deletions blockapi/test/v2/api/data/unisat/listings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"code": 0,
"msg": "ok",
"data": {
"list": [
{
"auctionId": "ye0io3o6x1wcoc9kbwe1xs5wue5ue4tw",
"amount": null,
"collectionId": "test-collection",
"collectionItemName": "Test 07",
"contentType": "image/png",
"domain": null,
"domainHex": null,
"domainType": null,
"inscriptionId": "3822c34e230b423f7092b4bf96b63cd3377fd02ac40fb025f5153461fe0a4b02i0",
"inscriptionNumber": 15388288,
"marketType": "fixedPrice",
"nftType": "collection",
"unitPrice": null,
"price": 50000,
"address": "bc1prx76vq7rv9cyhn2jrd5ygdsxwznsvpv58ccpfschl9zsp8vh4lws7qenhh"
},
{
"auctionId": "5s7doqj4up5xb2ek5s0rhrwviav2cp0e",
"amount": null,
"collectionId": "test-collection",
"collectionItemName": "Test 08",
"contentType": "image/png",
"domain": null,
"domainHex": null,
"domainType": null,
"inscriptionId": "d5fe1825a1d6240442c67ddf0a312d6b2092a4d526b252935759c236c0bfd057i0",
"inscriptionNumber": 15388559,
"marketType": "fixedPrice",
"nftType": "collection",
"unitPrice": null,
"price": 50000,
"address": "bc1p7qsamzcjffpvg8ej9dqkf7gp2ygs0xdth3tn4f2a3xvl0jg43f7q25kx3a"
},
{
"auctionId": "iegj06ozdwo01swy8u6dvesov7hbp60y",
"amount": null,
"collectionId": "unisat-og-pass",
"collectionItemName": "OG PASS #10010",
"contentType": "image/svg+xml",
"domain": null,
"domainHex": null,
"domainType": null,
"inscriptionId": "c4d40b8b09a92cc9272cb144c17d128bb0fbb63834c715f2b0a842d2b689cef7i0",
"inscriptionNumber": 837794,
"marketType": "fixedPrice",
"nftType": "collection",
"unitPrice": null,
"price": 50000000,
"address": "bc1pu7p5nk2ky6gfus5qjt9fguyxq5xsg7ehg4738k3fez07jdv42umqdxj9pr"
}
],
"total": 87254
}
}
107 changes: 107 additions & 0 deletions blockapi/test/v2/api/data/unisat/offers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"code": 0,
"msg": "ok",
"data": {
"list": [
{
"auctionId": "dduc4mtjw32abdfti7e8mqqir43lyref",
"inscriptionId": "1e6f91f13fe9a4359e1b9d6e7723cacb815d250337dab921f7b90fca62913e73i648",
"inscriptionNumber": 64501580,
"event": "Updated",
"price": 173000,
"from": "bc1qdfluh306nkuhcw28xqhj3h29a4s3d6zrtfvmvt",
"to": null,
"timestamp": 1744117460264,
"nftType": "collection",
"endMsg": null,
"newest": true,
"txid": null,
"atomicalId": null,
"atomicalTxid": null,
"atomicalIndex": null,
"sellTxid": null,
"sellIndex": null,
"name": null,
"amount": 1,
"unitPrice": 239500,
"domain": null,
"domainType": null,
"domainCategorys": null,
"collectionId": "runestone",
"collectionItemName": "Runestone #101450",
"collectionHighResImgUrl": "https://next-cdn.unisat.io/collection/runestone.png",
"contentType": "model/gltf+json",
"contentBody": null,
"attributes": null,
"dbTag": "market-collection-tcc",
"nftConfirmNum": 56683
},
{
"auctionId": "g41k7qfrsdqkegz7wmsarr63ugc88den",
"event": "Cancel",
"amount": 1,
"atomicalId": null,
"atomicalIndex": null,
"atomicalTxid": null,
"attributes": null,
"collectionHighResImgUrl": null,
"collectionId": "bitcoinmiladys",
"collectionItemName": "Bitcoin Miladys #16",
"contentBody": null,
"contentType": "application/json",
"dbTag": "market-batch-tcc",
"domain": null,
"domainCategorys": null,
"domainType": null,
"endMsg": "handled by system",
"from": "bc1pdkqyxdmagq0up644kfq4xvj9drtv09qdx48wshgnj06fcwyulzqs7tlsst",
"inscriptionId": "89e305943e9fc5e5e846ae312c4c8efaf47a1bc143556e8d37fc483400e6951fi0",
"inscriptionNumber": 10128495,
"name": null,
"newest": true,
"nftType": "collection",
"price": 990000,
"sellIndex": null,
"sellTxid": null,
"timestamp": 1744115573205,
"to": null,
"txid": null,
"unitPrice": 990000
},
{
"auctionId": "kdw6octea9snqnmoatmxe87uav45a49l",
"event": "Listed",
"amount": 1,
"atomicalId": null,
"atomicalIndex": null,
"atomicalTxid": null,
"attributes": null,
"collectionHighResImgUrl": "https://next-cdn.unisat.io/collection/runestone.png",
"collectionId": "runestone",
"collectionItemName": "Runestone #96357",
"contentBody": null,
"contentType": "model/gltf+json",
"dbTag": "market-collection-tcc",
"domain": null,
"domainCategorys": null,
"domainType": null,
"endMsg": null,
"from": "bc1pme7y9me8z23426xvenrcjcnsdzfw5glu6yewc6vdqxryld8lt6rqzxpu4s",
"inscriptionId": "b37ca7758738d471a22522e2e9de789448991cd854d0020e481037e9df5ff710i1155",
"inscriptionNumber": 64491619,
"name": null,
"newest": false,
"nftType": "collection",
"price": 174000,
"sellIndex": null,
"sellTxid": null,
"timestamp": 1744115298769,
"to": null,
"txid": null,
"unitPrice": 174000,
"channel": "UniSat"
}
],
"total": 176054
}
}
Loading