getTransaction RPC 메소드
확인된 트랜잭션에 대한 세부 정보를 반환합니다
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getTransaction",> "params": [> "5Pj5fCupXLUePYn18JkY8SrRaWFiUctuDTRwvUy2ML9yvkENLb1QMYbcBGcBXRrSVDjp7RjUwk9a3rLC6gpvtYpZ",> {> "commitment": "confirmed",> "maxSupportedTransactionVersion": 0,> "encoding": "json"> }> ]> }> '
params
stringrequired
base-58로 인코딩된 문자열 형태의 트랜잭션 서명
objectoptional
다음 필드를 포함하는 구성 객체:
result
Response
{"jsonrpc": "2.0","result": {"blockTime": 1746479684,}
object | null
트랜잭션을 찾을 수 없거나 확인되지 않은 경우 null
를 반환하고, 그렇지 않으면
다음을 포함하는 객체를 반환합니다:
Is this page helpful?