Skip to main content
POST
quai_getBlockOrCandidateByHash

본문

application/json
jsonrpc
enum<string>
필수
사용 가능한 옵션:
2.0
예시:

"2.0"

method
enum<string>
필수

The name of the method to be invoked.

사용 가능한 옵션:
quai_getBlockOrCandidateByHash
예시:

"quai_getBlockOrCandidateByHash"

params
string[]
필수

The block hash, true/false. true returns complete transaction information and false returns the hash of the transaction

Required array length: 1 element
예시:
id
integer
필수

A unique identifier for the request.

예시:

1

응답

200 - application/json

Successful response

jsonrpc
string
예시:

"2.0"

result
object

The block data for the corresponding number.

예시:
id
integer
예시:

1