개발가이드

  • 개발가이드

트랜잭션 조회

트랜잭션(거래) 정보를 조회합니다.

정보

Method
URL
POST
https://apick.app/rest/search_transaction/:블록체인종류/:TXID
조회 가능한 블록체인 종류
종류
목록
비트코인 계열(7종)
bitcoin, bitcoin_cash, litecoin, dogecoin, dash, zcash, ecash
이더리움
ethereum
모네로
monero
블록체인 종류별로 조회 데이터에 차이가 있습니다.

요청

Header
이름
필수
설명
CL_AUTH_KEY
O
인증키(MD5)
FormData
이름
타입
설명
필수
없음

응답

Body
  • 비트코인
  • 이더리움
  • 모네로
이름
타입
설명
data
Object
조회 데이터
result
Array
거래 목록
{}
Object
거래 정보
transaction
Object
트랜잭션 정보
block_id
id
hash
date
time
size
weight
version
lock_time
is_coinbase
has_witness
input_count
output_count
input_total
input_total_usd
output_total
output_total_usd
fee
fee_usd
fee_per_kb
fee_per_kb_usd
fee_per_kwu
fee_per_kwu_usd
cdd_total
is_rbf
confirm
inputs
Array
{}
Object
block_id
transaction_id
index
transaction_hash
time
value
value_usd
recipient
type
script_hex
is_from_coinbase
is_spendable
is_spent
spending_block_id
spending_transaction_id
spending_index
spending_transaction_hash
spending_date
spending_time
spending_value_usd
spending_sequence
spending_signature_hex
spending_witness
lifespan
cdd
outputs
Array
{}
Object
block_id
transaction_id
index
transaction_hash
time
value
value_usd
recipient
type
script_hex
is_from_coinbase
is_spendable
is_spent
spending_block_id
spending_transaction_id
spending_index
spending_transaction_hash
spending_date
spending_time
spending_value_usd
spending_sequence
spending_signature_hex
spending_witness
lifespan
cdd
success
Integer
과금 여부
0: 실패
1: 성공
3: 실패(timeout)
api
Object
API 호출 공통 데이터
success
Boolean
API 서버 정상 응답 여부
cost
Integer
API 호출 요금
ms
Integer
API 응답 시간
pl_id
Integer
API 결제 로그 ID
이름
타입
설명
data
Object
조회 데이터
result
Array
거래 목록
{}
Object
거래 정보
transaction
Object
트랜잭션 정보
block_id
id
index
hash
date
time
failed
type
sender
recipient
call_count
value
value_usd
internal_value
internal_value_usd
fee
fee_usd
gas_used
gas_limit
gas_price
input_hex
nonce
v
r
s
version
effective_gas_price
max_fee_per_gas
max_priority_fee_per_gas
base_fee_per_gas
burned
type_2718
confirm
calls
Array
{}
Object
block_id
transaction_id
transaction_hash
index
depth
date
time
failed
fail_reason
type
sender
recipient
child_call_count
value
value_usd
transferred
input_hex
output_hex
success
Integer
과금 여부
0: 실패
1: 성공
3: 실패(timeout)
api
Object
API 호출 공통 데이터
success
Boolean
API 서버 정상 응답 여부
cost
Integer
API 호출 요금
ms
Integer
API 응답 시간
pl_id
Integer
API 결제 로그 ID
이름
타입
설명
data
Object
조회 데이터
block_height
coinbase
confirmations
current_height
extra
inputs
Array
{}
Object
amount
key_image
mixins
Array
{}
Object
block_no
public_key
tx_hash
mixin
outputs
Array
{}
Object
amount
public_key
payment_id
payment_id8
rct_type
timestamp
timestamp_utc
tx_fee
tx_hash
tx_size
tx_version
xmr_inputs
xmr_outputs
success
Integer
과금 여부
0: 실패
1: 성공
3: 실패(timeout)
api
Object
API 호출 공통 데이터
success
Boolean
API 서버 정상 응답 여부
cost
Integer
API 호출 요금
ms
Integer
API 응답 시간
pl_id
Integer
API 결제 로그 ID

예시

요청 예시
  • 비트코인
  • 이더리움
  • 모네로

curl -k -X POST "https://apick.app/rest/search_transaction/bitcoin/fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4" \
-H "CL_AUTH_KEY: $API_KEY"
            

curl -k -X POST "https://apick.app/rest/search_transaction/ethereum/0xbac4cb10f95b37dab2c8a78e880d39661cc53f87386ded2fb721ac2304113ea3" \
-H "CL_AUTH_KEY: $API_KEY"
            

curl -k -X POST "https://apick.app/rest/search_transaction/monero/bfede25f5355a9f1eb42ee2c567b326f236a479ef352772918d24019a4679605" \
-H "CL_AUTH_KEY: $API_KEY"
            
응답 예시
  • 비트코인
  • 이더리움
  • 모네로

{
    "data": {
        "result": [
            {
                "transaction": {
                    "block_id": 100000,
                    "id": 216574,
                    "hash": "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
                    "date": "2010-12-29",
                    "time": "2010-12-29 11:57:43",
                    "size": 259,
                    "weight": 1036,
                    "version": 1,
                    "lock_time": 0,
                    "is_coinbase": false,
                    "has_witness": false,
                    "input_count": 1,
                    "output_count": 2,
                    "input_total": 5000000000,
                    "input_total_usd": 13.500001,
                    "output_total": 5000000000,
                    "output_total_usd": 13.500001,
                    "fee": 0,
                    "fee_usd": 0,
                    "fee_per_kb": 0,
                    "fee_per_kb_usd": 0,
                    "fee_per_kwu": 0,
                    "fee_per_kwu_usd": 0,
                    "cdd_total": 295.72048611111,
                    "is_rbf": false,
                    "confirm": 724438
                },
                "inputs": [
                    {
                        "block_id": 99059,
                        "transaction_id": 213171,
                        "index": 0,
                        "transaction_hash": "87a157f3fd88ac7907c05fc55e271dc4acdc5605d187d646604ca8c0e9382e03",
                        "date": "2010-12-23",
                        "time": "2010-12-23 14:00:58",
                        "value": 5000000000,
                        "value_usd": 12.5,
                        "recipient": "1BNwxHGaFbeUBitpjy2AsKpJ29Ybxntqvb",
                        "type": "pubkeyhash",
                        "script_hex": "76a91471d7dd96d9edda09180fe9d57a477b5acc9cad1188ac",
                        "is_from_coinbase": false,
                        "is_spendable": null,
                        "is_spent": true,
                        "spending_block_id": 100000,
                        "spending_transaction_id": 216574,
                        "spending_index": 0,
                        "spending_transaction_hash": "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
                        "spending_date": "2010-12-29",
                        "spending_time": "2010-12-29 11:57:43",
                        "spending_value_usd": 13.500001,
                        "spending_sequence": 4294967295,
                        "spending_signature_hex": "493046022100c352d3dd993a981beba4a63ad15c209275ca9470abfcd57da93b58e4eb5dce82022100840792bc1f456062819f15d33ee7055cf7b5ee1af1ebcc6028d9cdb1c3af7748014104f46db5e9d61a9dc27b8d64ad23e7383a4e6ca164593c2527c038c0857eb67ee8e825dca65046b82c9331586c82e0fd1f633f25f87c161bc6f8a630121df2b3d3",
                        "spending_witness": "",
                        "lifespan": 511005,
                        "cdd": 295.7204861111111
                    }
                ],
                "outputs": [
                    {
                        "block_id": 100000,
                        "transaction_id": 216574,
                        "index": 0,
                        "transaction_hash": "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
                        "date": "2010-12-29",
                        "time": "2010-12-29 11:57:43",
                        "value": 556000000,
                        "value_usd": 1.5012001,
                        "recipient": "1JqDybm2nWTENrHvMyafbSXXtTk5Uv5QAn",
                        "type": "pubkeyhash",
                        "script_hex": "76a914c398efa9c392ba6013c5e04ee729755ef7f58b3288ac",
                        "is_from_coinbase": false,
                        "is_spendable": null,
                        "is_spent": true,
                        "spending_block_id": 105001,
                        "spending_transaction_id": 246932,
                        "spending_index": 6,
                        "spending_transaction_hash": "5aa8e36f9423ee5fcf17c1d0d45d6988b8a5773eae8ad25d945bf34352040009",
                        "spending_date": "2011-01-28",
                        "spending_time": "2011-01-28 10:44:34",
                        "spending_value_usd": 2.4464,
                        "spending_sequence": 4294967295,
                        "spending_signature_hex": "48304502202f3fa1413d769eee26c2ecef3f3ef826b52bc40fcaa177fcb60a238c24ad306a022100a82a2bd54f8874b4142f76b127189a9bf4d0c5f4c43dbd71bbdccdf58f0e3f9b014104ef709b5379567ce8b5b2c4bd0efd01ff1b6f56dcd213937f56ac2370202630a7d1fd5086b5e806090857a0a009b08a87ce283274d8178d71b4f2718d790645eb",
                        "spending_witness": "",
                        "lifespan": 2587611,
                        "cdd": 149.74600694444445
                    },
                    {
                        "block_id": 100000,
                        "transaction_id": 216574,
                        "index": 1,
                        "transaction_hash": "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
                        "date": "2010-12-29",
                        "time": "2010-12-29 11:57:43",
                        "value": 4444000000,
                        "value_usd": 11.9988,
                        "recipient": "1EYTGtG4LnFfiMvjJdsU7GMGCQvsRSjYhx",
                        "type": "pubkeyhash",
                        "script_hex": "76a914948c765a6914d43f2a7ac177da2c2f6b52de3d7c88ac",
                        "is_from_coinbase": false,
                        "is_spendable": null,
                        "is_spent": true,
                        "spending_block_id": 100002,
                        "spending_transaction_id": 216592,
                        "spending_index": 0,
                        "spending_transaction_hash": "220ebc64e21abece964927322cba69180ed853bb187fbc6923bac7d010b9d87a",
                        "spending_date": "2010-12-29",
                        "spending_time": "2010-12-29 12:17:31",
                        "spending_value_usd": 11.9988,
                        "spending_sequence": 4294967295,
                        "spending_signature_hex": "483045022100f7edfd4b0aac404e5bab4fd3889e0c6c41aa8d0e6fa122316f68eddd0a65013902205b09cc8b2d56e1cd1f7f2fafd60a129ed94504c4ac7bdc67b56fe67512658b3e014104732012cb962afa90d31b25d8fb0e32c94e513ab7a17805c14ca4c3423e18b4fb5d0e676841733cb83abaf975845c9f6f2a8097b7d04f4908b18368d6fc2d68ec",
                        "spending_witness": "",
                        "lifespan": 1188,
                        "cdd": 0.605
                    }
                ]
            }
        ],
        "success": 1
    },
    "api": {
        "success": true,
        "cost": 10,
        "ms": 1110,
        "pl_id": 1595680
    }
}
            

{
    "data": {
        "result": [
            {
                "transaction": {
                    "block_id": 12345678,
                    "id": 12345678000173,
                    "index": 173,
                    "hash": "0xbac4cb10f95b37dab2c8a78e880d39661cc53f87386ded2fb721ac2304113ea3",
                    "date": "2021-05-01",
                    "time": "2021-05-01 02:46:17",
                    "failed": false,
                    "type": "call",
                    "sender": "0xebe790e554f30924801b48197dcb6f71de2760bc",
                    "recipient": "0x43badf0e63ac147ace611dc1113afe0ea3f86917",
                    "call_count": 1,
                    "value": "60000000000000000",
                    "value_usd": 166.24003417968748,
                    "internal_value": "60000000000000000",
                    "internal_value_usd": 166.24003417968748,
                    "fee": "714000000000000",
                    "fee_usd": 1.9782564067382813,
                    "gas_used": 21000,
                    "gas_limit": 21000,
                    "gas_price": 34000000000,
                    "input_hex": "",
                    "nonce": 30,
                    "v": "26",
                    "r": "cacce90eb140f837a139e5d8acbe73527663aea163d4e4c6e8218681d1d37b0f",
                    "s": "7fdb860517234804b71bbc518ecb4dc4bb96c1944ab28d502fc429baac939b3c",
                    "version": null,
                    "effective_gas_price": null,
                    "max_fee_per_gas": null,
                    "max_priority_fee_per_gas": null,
                    "base_fee_per_gas": null,
                    "burned": "",
                    "type_2718": 0,
                    "confirm": 6821303
                },
                "calls": [
                    {
                        "block_id": 12345678,
                        "transaction_id": 12345678000173,
                        "transaction_hash": "0xbac4cb10f95b37dab2c8a78e880d39661cc53f87386ded2fb721ac2304113ea3",
                        "index": "0",
                        "depth": 0,
                        "date": "2021-05-01",
                        "time": "2021-05-01 02:46:17",
                        "failed": false,
                        "fail_reason": null,
                        "type": "call",
                        "sender": "0xebe790e554f30924801b48197dcb6f71de2760bc",
                        "recipient": "0x43badf0e63ac147ace611dc1113afe0ea3f86917",
                        "child_call_count": 0,
                        "value": "60000000000000000",
                        "value_usd": 166.24003417968748,
                        "transferred": true,
                        "input_hex": "",
                        "output_hex": ""
                    }
                ]
            }
        ],
        "success": 1
    },
    "api": {
        "success": true,
        "cost": 10,
        "ms": 1024,
        "pl_id": 9436166
    }
}
            

{
    "data": {
        "block_height": 3078177,
        "coinbase": false,
        "confirmations": 3,
        "current_height": 3078180,
        "extra": "015d71c4cc4058e6c48c83f658c6a19146751d9939b73956e8a82464078751d3ae020901ed3e5bf511f4f2c1",
        "inputs": [
            {
                "amount": 0,
                "key_image": "b0e1749ab9c4b3a8fd6e45a93da3a59983535ab6b346f762f616d8331d9b05f2",
                "mixins": [
                    {
                        "block_no": 3019911,
                        "public_key": "b99aed198630e4401574c5b7e9932015c73fed7e8b941ffa0806723b243ae8d0",
                        "tx_hash": "c89332a979d5a1711802635fd26e55d04cb794778cc8a6434ec2f8845f3b3730"
                    },
                    {
                        "block_no": 3054470,
                        "public_key": "3e76017e0cb78be5ccf241e30dc97d9b7c492338ca6d474785f973f2435df2e2",
                        "tx_hash": "3c05c91412bf3599cde9040d0bd2aacaa125c6ce4c77119f8d7a7c2f0f27bb14"
                    },
                    {
                        "block_no": 3069148,
                        "public_key": "0d8c7072eb8523a680abce9dd2dbb95dacf459e1c0fe9bda7eb619fdd5d01b3b",
                        "tx_hash": "70d1da87d7be1e6bbb22b3d25cba209161a316030f3c246f03bb61c92075e9cb"
                    },
                    {
                        "block_no": 3070340,
                        "public_key": "032fec34784915f408feec92c366beca59d59a26fe8f7e399e47d63b9d950257",
                        "tx_hash": "6f0f29617f608c79ac816d81c8b2b58eb3a8012342f76167843d7e85de16f1b5"
                    },
                    {
                        "block_no": 3073415,
                        "public_key": "5946a4f6f0a061956e96107c47e43a6d50c74e9ab6b084616da52d90a2dd7444",
                        "tx_hash": "ab2f4f08a8ca593035f80f77fe243294dc730fb89202ee27c619b00032222640"
                    },
                    {
                        "block_no": 3073981,
                        "public_key": "c8d293dd7d27ce4de4d8bcbac77a37e213300d15a43130c80b25804ade4157cb",
                        "tx_hash": "1436278940344a763175fc1c5c62266fa75aae8390389fce20f92261456d5ec3"
                    },
                    {
                        "block_no": 3074316,
                        "public_key": "391a951f8c2217414040d5222f87e9ed7ebce82ec872d11536f97089fca7adce",
                        "tx_hash": "a85a87d7148d0e378f803b7a892e67424a654af3ec9889404981ad88e4564560"
                    },
                    {
                        "block_no": 3076896,
                        "public_key": "0e1ddac1a4b6e7c051f1f2494cd72181debbc9c578c8fe21ed2dd22b85e4eb62",
                        "tx_hash": "5bc1e855e0bde9200875a6f1ab16232c639258ac048b1fabc6830d2a36dd763e"
                    },
                    {
                        "block_no": 3077108,
                        "public_key": "a8d0129a56908c059d7493db4146dfe8b488fa555311f111fc2c07ebde4564fb",
                        "tx_hash": "e4c0765f012db05a0a621ee050a03e7bcee8f9d82901d493c839d1e607965e2e"
                    },
                    {
                        "block_no": 3077770,
                        "public_key": "272cd913f65dfab79456e618a7a26bac7b52449e5af649af70b35ab23cfc9472",
                        "tx_hash": "90401cabcfead1562f55d615da28c51161c4501628a28e6f970c132a497adf83"
                    },
                    {
                        "block_no": 3077957,
                        "public_key": "00f76376d6277b9e12aeb9e43ee0e8e2a910d68bc14b556d64dd261fa1bc565f",
                        "tx_hash": "1c6a8bdc1b14e497c2bc7aab66bc981f282bdbd6247c2d554e309f91bd338190"
                    },
                    {
                        "block_no": 3078049,
                        "public_key": "8694cc00bf0aaedab510eafe9d4190aa7a97fd52ad37d3007674525ec5491abb",
                        "tx_hash": "2c0198109a8a460c9b342d1e28244c7035c083f8b527e3daeebf4dd515e4802a"
                    },
                    {
                        "block_no": 3078086,
                        "public_key": "55b4cbf3e337dc18e642e237644fa501b50e898f2c780e536d304bbfaa57e188",
                        "tx_hash": "1842f8adab1724a5e7ccb103c941b4207bc3a4550bb18d58e2398ba534570c3f"
                    },
                    {
                        "block_no": 3078087,
                        "public_key": "2922348e3223a891f0a081c97b7cce4c952e70fd42f7e0f46130e4dd20a4052c",
                        "tx_hash": "c52375900f8081bad135961b296721a4d8c82a4f29ecb4ae32e02a174bc7bb08"
                    },
                    {
                        "block_no": 3078099,
                        "public_key": "7091e92207cfffc38fad4bc3446167f4b774a7354b6a493e10c8b5aa7960bab1",
                        "tx_hash": "ffaa7e5aeb8a1d20d0a2bf74d3756cfa76cb51262b3a3763c00bab0e5211f9eb"
                    },
                    {
                        "block_no": 3078160,
                        "public_key": "9d7a894a06aeb6ffb51bcbb2cc0dcaf90ce9c52378a48078aa03c438ef32d548",
                        "tx_hash": "a4b230101e6a2826b42b58e486b98ca3fa55777daf41ef37ead0483453f8a0ee"
                    }
                ]
            }
        ],
        "mixin": 16,
        "outputs": [
            {
                "amount": 0,
                "public_key": "31b99011b5a19157be5f795dc17cbb7691e38b0f0634075973294d0ca827750a"
            },
            {
                "amount": 0,
                "public_key": "6c7ea989281e9de2dbd0c5c3be5be981409c1be3eb8fa3de3dd834bd41c38733"
            }
        ],
        "payment_id": "",
        "payment_id8": "ed3e5bf511f4f2c1",
        "rct_type": 6,
        "timestamp": 1707208494,
        "timestamp_utc": "2024-02-06 08:34:54",
        "tx_fee": 30680000,
        "tx_hash": "bfede25f5355a9f1eb42ee2c567b326f236a479ef352772918d24019a4679605",
        "tx_size": 1534,
        "tx_version": 2,
        "xmr_inputs": 0,
        "xmr_outputs": 0,
        "success": 1
    },
    "api": {
        "success": true,
        "cost": 10,
        "ms": 1025,
        "pl_id": 9452528
    }
}
            
현재 페이지 북마크