-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #420 from alchemyplatform/new_debug_methods
add new debug methods
- Loading branch information
Showing
6 changed files
with
288 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: debug_getRawBlock | ||
version: '1.0' | ||
servers: | ||
- url: https://{network}.g.alchemy.com/v2 | ||
variables: | ||
network: | ||
enum: | ||
- eth-mainnet | ||
- eth-sepolia | ||
default: eth-mainnet | ||
x-sandbox: | ||
category: | ||
type: | ||
$ref: '../components/sandbox.yaml#/Category' | ||
value: debug | ||
paths: | ||
/{apiKey}: | ||
post: | ||
summary: debug_getRawBlock | ||
description: Returns an RLP-encoded block. | ||
tags: [] | ||
parameters: | ||
- name: apiKey | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
default: docs-demo | ||
description: | | ||
<style> | ||
.custom-style { | ||
color: #048FF4; | ||
} | ||
</style> | ||
For higher throughput, <span class="custom-style"><a href="https://alchemy.com/?a=docs-demo" target="_blank">create your own API key</a></span> | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_body.yaml#/debug_getRawBlock' | ||
x-readme: | ||
explorer-enabled: true | ||
samples-languages: | ||
- curl | ||
- javascript | ||
- python | ||
responses: | ||
'200': | ||
description: 'Returns an RLP-encoded block.' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_responses.yaml#/debug_getRawBlock' | ||
operationId: debug-getrawblock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: debug_getRawHeader | ||
version: '1.0' | ||
servers: | ||
- url: https://{network}.g.alchemy.com/v2 | ||
variables: | ||
network: | ||
enum: | ||
- eth-mainnet | ||
- eth-sepolia | ||
default: eth-mainnet | ||
x-sandbox: | ||
category: | ||
type: | ||
$ref: '../components/sandbox.yaml#/Category' | ||
value: debug | ||
paths: | ||
/{apiKey}: | ||
post: | ||
summary: debug_getRawHeader | ||
description: Returns an RLP-encoded header. | ||
tags: [] | ||
parameters: | ||
- name: apiKey | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
default: docs-demo | ||
description: | | ||
<style> | ||
.custom-style { | ||
color: #048FF4; | ||
} | ||
</style> | ||
For higher throughput, <span class="custom-style"><a href="https://alchemy.com/?a=docs-demo" target="_blank">create your own API key</a></span> | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_body.yaml#/debug_getRawHeader' | ||
x-readme: | ||
explorer-enabled: true | ||
samples-languages: | ||
- curl | ||
- javascript | ||
- python | ||
responses: | ||
'200': | ||
description: 'Returns an RLP-encoded header.' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_responses.yaml#/debug_getRawHeader' | ||
operationId: debug-getrawheader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: debug_getRawReceipts | ||
version: '1.0' | ||
servers: | ||
- url: https://{network}.g.alchemy.com/v2 | ||
variables: | ||
network: | ||
enum: | ||
- eth-mainnet | ||
- eth-sepolia | ||
default: eth-mainnet | ||
x-sandbox: | ||
category: | ||
type: | ||
$ref: '../components/sandbox.yaml#/Category' | ||
value: debug | ||
paths: | ||
/{apiKey}: | ||
post: | ||
summary: debug_getRawReceipts | ||
description: Returns an array of EIP-2718 binary-encoded receipts. | ||
tags: [] | ||
parameters: | ||
- name: apiKey | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
default: docs-demo | ||
description: | | ||
<style> | ||
.custom-style { | ||
color: #048FF4; | ||
} | ||
</style> | ||
For higher throughput, <span class="custom-style"><a href="https://alchemy.com/?a=docs-demo" target="_blank">create your own API key</a></span> | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_body.yaml#/debug_getRawReceipts' | ||
x-readme: | ||
explorer-enabled: true | ||
samples-languages: | ||
- curl | ||
- javascript | ||
- python | ||
responses: | ||
'200': | ||
description: 'Returns an array of EIP-2718 binary-encoded receipts.' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../evm_responses.yaml#/debug_getRawReceipts' | ||
operationId: debug-getrawreceipts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters