-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research on checking RGB++ transaction on transaction deatils. #551
Comments
search from bitcoin txid# txid exists
{
"data": {
"id": "155",
"type": "bitcoin_transaction",
"attributes": {
"txid": "95e516cc9dc62fcf8e263a4297f385866c617747d575e79e12fb76d21905fe7b",
"transaction_hash": "95e516cc9dc62fcf8e263a4297f385866c617747d575e79e12fb76d21905fe7b",
"ckb_transaction_hash": "0x5032a3f6ede0f7b641e3b4e338ffadf3f979e17f655462214ef95d4cce29ef71"
}
}
} get rgb digest
{
"txid": "779e1d9a5cd88609e589c6daf22866336a264ca708c799300a2eb906597d0160",
"confirmations": 1953628,
"commitment": "4343484e0157580139353135646135393466346136396438623162303937323762653465343063363034623163383938653933333330386562316533643734313031626663336161",
"transfers": [
{
"address": "mnGG3Yhx8WPMRU2bFJESKmY1y6zkTzgkju",
"transfers": [
{
"capacity": "-30000.0",
"cell_type": "normal"
}
]
}
]
} transaction list
{
"data": [
{
"id": "58027635",
"type": "ckb_transactions",
"attributes": {
"is_cellbase": false,
"transaction_hash": "0xe3135c6ba8bc7fc1aa574e82196a252a1704f7ef2d6e333f0f05740282da14b7",
"block_number": "12558568",
"block_timestamp": "1710169749577",
"display_inputs_count": 3,
"display_outputs_count": 3,
"display_inputs": [
{
"id": "163834184",
"from_cellbase": false,
"capacity": "40000000000.0",
"occupied_capacity": "9700000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"generated_tx_hash": "0x714fb1b9770d406a5ef6a0ae9bfd7e1c17567a656f18fa6736b6a10ce8cee1b4",
"cell_index": "0",
"cell_type": "normal",
"since": {
"raw": "0x0000000000000000",
"median_timestamp": "1710169605602"
}
},
{
"id": "163833818",
"from_cellbase": false,
"capacity": "40000000000.0",
"occupied_capacity": "10500000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"generated_tx_hash": "0x8bbf580ff182eacb46d0a67645b8ab09d43fbe7923a72f1cc58b38282ce579ab",
"cell_index": "1",
"cell_type": "normal",
"since": {
"raw": "0x0000000000bfa0e5",
"median_timestamp": "1710169605602"
}
},
{
"id": "163834043",
"from_cellbase": false,
"capacity": "1118894611000.0",
"occupied_capacity": "6100000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"generated_tx_hash": "0xa784622224a6092d19e181862bf60a4094b3ab2503167769037350e1134fbc0b",
"cell_index": "2",
"cell_type": "normal",
"since": {
"raw": "0x0000000000000000",
"median_timestamp": "1710169605602"
}
}
],
"display_outputs": [
{
"id": "163834218",
"capacity": "40000000000.0",
"occupied_capacity": "9700000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"status": "dead",
"consumed_tx_hash": "0xeb019092640ad62956dc242a784bf0a93d2124ce4b2b423e923e94a89bb6801b",
"cell_type": "normal",
"rgb_info": {
"txid": "be1e672b27feeb8c55e3d7df4481866c1c215da7d21d6ee0f63b0ef6f97ad22a",
"index": "0",
"address": "mnGG3Yhx8WPMRU2bFJESKmY1y6zkTzgkju"
},
"extra_info": {
"txid": "be1e672b27feeb8c55e3d7df4481866c1c215da7d21d6ee0f63b0ef6f97ad22a",
"index": "0",
"address": "mnGG3Yhx8WPMRU2bFJESKmY1y6zkTzgkju"
}
},
{
"id": "163834219",
"capacity": "40000000000.0",
"occupied_capacity": "10500000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"status": "dead",
"consumed_tx_hash": "0xd75ae6c906d8bc78491c5c45acc4fb8a9528bb0e87c644874cfc0f434fb2e9bf",
"cell_type": "normal",
"rgb_info": {
"txid": "d51bf651f8e66684daedef3160e8ea540ccf5d18dd9630ad70bdac6281a97c84",
"index": "1",
"address": "2N9FY2fckLiZtdUEWSMYPe5Zrs1baHX7foG"
},
"extra_info": {
"txid": "d51bf651f8e66684daedef3160e8ea540ccf5d18dd9630ad70bdac6281a97c84",
"index": "1",
"address": "2N9FY2fckLiZtdUEWSMYPe5Zrs1baHX7foG"
}
},
{
"id": "163834220",
"capacity": "1118894581000.0",
"occupied_capacity": "6100000000",
"address_hash": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdgj7pfuc8wfclmpe9tue25nmz2thd044cwlg0jg",
"status": "dead",
"consumed_tx_hash": "0xadc8fd6ef88cc0ab53b16b2453a2cfb286f48a0aee4b541d0ffd2c0d0cedb34e",
"cell_type": "normal"
}
],
"income": null,
"rgb_transaction": "true",
"created_at": "2024-03-11 23:08:57 +0800",
"create_timestamp": "1710169737477"
}
}
],
"meta": {
"total": 4,
"page_size": 1
}
}
# address transactions
/api/v1/address_transactions/:id
/api/v1/address_transactions/:id/download_csv
# address pending transactions
/api/v1/address_pending_transaction/:id
# address detail
/api/v1/addresses/:id |
POST /api/v2/bitcoin_transactions
# params
{
"txids": [
"ad3ebd869bc41217900e9d38799e1e87c20257d1a42f2ffaf5f6213a060bee41",
"f431500e33cf820c3262379838a3533026ab43c472755c15a41c1446447cb7a5",
"42900ec17b76d9e7bf3803a5e6fa030a3161a731629a0e3f5b0594667029937f"
]
}
# response
{
"ad3ebd869bc41217900e9d38799e1e87c20257d1a42f2ffaf5f6213a060bee41": {
"result": {
"txid": "ad3ebd869bc41217900e9d38799e1e87c20257d1a42f2ffaf5f6213a060bee41",
"hash": "24a91f407aaddec213b340273dbf72b11595b007aec301ede3f0bc53e88388a2",
"version": 1,
"size": 223,
"vsize": 142,
"weight": 565,
"locktime": 0,
"vin": [...],
"vout": [...],
"fee": 0.0005424,
"hex": "010000000001011a8f4e40c297c8a86ecec5c9564bdb21fd5f54be6629effc11d5910fd7be7d720100000000ffffffff02705d00000000000017a9142c4a3836ddbce4a37cb368e45b1ea53698a451ff870a53000000000000160014e732f6f3baa1e4d3831114d31a15927c671ed3c70247304402207739ab4d3df1ecc3d5c8787e12b5f7ecf3409eb9c248991413b8e8ad2762073e0220459197fd3ed9a28a9d8d9d75c165a4d85242b9ac75db06b46e0589349ffd06e7012102341fef5e94fe7e20e2a45dc7e0f83b8359a97d13ce58ef10a9e8ff428da2270c00000000",
"blockhash": "00000000000000000010dab51e5208c538fce5634104fbd059da24140911efe7",
"confirmations": 203724,
"time": 1590597397,
"blocktime": 1590597397
},
"error": null,
"id": 1
},
"f431500e33cf820c3262379838a3533026ab43c472755c15a41c1446447cb7a5": ...,
"42900ec17b76d9e7bf3803a5e6fa030a3161a731629a0e3f5b0594667029937f": ...
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: