メインコンテンツへスキップ

platform.getTx RPC Method

読み込み中...

更新日:
Apr 29, 2026

platform.getTx RPC Method

To use the platform.getTx method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

パラメータ

txID
文字列
必須
読み込み中...
encoding
文字列
読み込み中...

返品

結果
オブジェクト
読み込み中...
tx
オブジェクト
読み込み中...
unsignedTx
オブジェクト
読み込み中...
networkID
整数
読み込み中...
blockchainID
文字列
読み込み中...
出力
配列
読み込み中...
assetID
文字列
読み込み中...
fxID
文字列
読み込み中...
出力
オブジェクト
読み込み中...
住所
配列
読み込み中...
金額
整数
読み込み中...
locktime
整数
読み込み中...
threshold
整数
読み込み中...
入力
配列
読み込み中...
memo
文字列
読み込み中...
sourceChain
文字列
読み込み中...
importedInputs
配列
読み込み中...
txID
文字列
読み込み中...
outputIndex
整数
読み込み中...
assetID
文字列
読み込み中...
fxID
文字列
読み込み中...
入力
オブジェクト
読み込み中...
金額
整数
読み込み中...
signatureIndices
配列
読み込み中...
credentials
配列
読み込み中...
署名
配列
読み込み中...
encoding
文字列
読み込み中...
リクエスト
回答
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"tx": {
6
"unsignedTx": {
7
"networkID": 14,
8
"blockchainID": "11111111111111111111111111111111LpoYY",
9
"outputs": [
10
{
11
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k",
12
"fxID": "spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ",
13
"output": {
14
"addresses": [
15
"P-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c"
16
],
17
"amount": 998966250,
18
"locktime": 0,
19
"threshold": 1
20
}
21
}
22
],
23
"inputs": [],
24
"memo": "0x",
25
"sourceChain": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
26
"importedInputs": [
27
{
28
"txID": "JzTQWEoc7wpQ1irazdfrUxWJQDAbYb3cYapaKmywWRCZnmkLC",
29
"outputIndex": 0,
30
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k",
31
"fxID": "spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ",
32
"input": {
33
"amount": 1000000000,
34
"signatureIndices": [
35
0
36
]
37
}
38
}
39
]
40
},
41
"credentials": [
42
{
43
"signatures": [
44
"0xea7f0bd58ebdb00304659490a767e198deddfef7b79df9b75fa309b26e9dae04646d6abae480d2e49342f52329a17d4ecbd2bf951988584beb8bccbf1b01a8ca01"
45
]
46
}
47
],
48
"id": "2mgNobrqvuqQixoQvibWegh7Z8nd2WjufQTmfSVr1F9k69adKC"
49
},
50
"encoding": "json"
51
}
52
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"tx": {
6
"unsignedTx": {
7
"networkID": 14,
8
"blockchainID": "11111111111111111111111111111111LpoYY",
9
"outputs": [
10
{
11
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k",
12
"fxID": "spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ",
13
"output": {
14
"addresses": [
15
"P-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c"
16
],
17
"amount": 998966250,
18
"locktime": 0,
19
"threshold": 1
20
}
21
}
22
],
23
"inputs": [],
24
"memo": "0x",
25
"sourceChain": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
26
"importedInputs": [
27
{
28
"txID": "JzTQWEoc7wpQ1irazdfrUxWJQDAbYb3cYapaKmywWRCZnmkLC",
29
"outputIndex": 0,
30
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k",
31
"fxID": "spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ",
32
"input": {
33
"amount": 1000000000,
34
"signatureIndices": [
35
0
36
]
37
}
38
}
39
]
40
},
41
"credentials": [
42
{
43
"signatures": [
44
"0xea7f0bd58ebdb00304659490a767e198deddfef7b79df9b75fa309b26e9dae04646d6abae480d2e49342f52329a17d4ecbd2bf951988584beb8bccbf1b01a8ca01"
45
]
46
}
47
],
48
"id": "2mgNobrqvuqQixoQvibWegh7Z8nd2WjufQTmfSVr1F9k69adKC"
49
},
50
"encoding": "json"
51
}
52
}
まだアカウントをお持ちではありませんか?
わずか数秒でQuicknodeのエンドポイントを作成し、開発を始めましょう
今すぐ無料で始めましょう