Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor specs to use ApiKey component #259

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions account-abstraction/alchemy_requestGasAndPaymasterAndData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Requests gas and coverage for a `UserOperation`. Returns `paymasterAndData` and gas parameters if approved, errors if not. Optionally accepts fee parameter overrides to be used in the `UserOperation`.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/alchemy_requestPaymasterAndData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Requests coverage for a `UserOperation`. Returns `paymasterAndData` if approved, errors if not.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/eth_estimateUserOperationGas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Estimates the gas values for a `UserOperation`.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/eth_getUserOperationByHash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Return a `UserOperation` based on a hash (`userOpHash`).
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/eth_getUserOperationReceipt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Get the `UserOperationReceipt` based on the `userOpHash` value.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/eth_sendUserOperation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Sends a user operation to the given EVM network.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/eth_supportedEntryPoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ components:
description: Returns an array of the `entryPoint` addresses supported by the client.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
required: true
content:
Expand Down
14 changes: 1 addition & 13 deletions account-abstraction/rundler_maxPriorityFeePerGas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,7 @@ paths:
description: 'Returns a fee per gas that is an estimate of how much users should set as a priority fee in UOs for Rundler endpoints.'
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_createAccessList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,7 @@ paths:
summary: eth_createAccessList - Arbitrum
description: 'Arbitrum API - Creates an EIP2930 type `accessList` based on a given Transaction object. Returns list of addresses and storage keys that are read and written by the transaction (except the sender account and precompiles), plus the estimated gas consumed when the access list is added.'
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getBlockByHash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,7 @@ components:
operationId: eth-getBlockByHash-arbitrum
description: Returns information about a block by block hash on the Arbitrum network.
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getBlockByNumber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,7 @@ components:
summary: eth_getBlockByNumber - Arbitrum
description: Returns information about a block by block number on the Arbitrum network.
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getProof.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,7 @@ components:
summary: eth_getProof - Arbitrum
description: Returns the account and storage values of the specified account including the Merkle-proof on Arbitrum. This call can be used to verify that the data you are pulling from is not tampered with.
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getTransactionByBlockHashAndIndex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ components:
description: Returns information about a transaction by block hash and transaction index position in Arbitrum network.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getTransactionByBlockNumberAndIndex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,7 @@ paths:
description: Returns information about a transaction by block number and transaction index position.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getTransactionByHash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ components:
description: 'Returns the information about a transaction requested by transaction hash. In the response object, `blockHash`, `blockNumber`, and `transactionIndex` are `null` when the transaction is pending.'
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_getTransactionReceipt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ components:
description: Returns the receipt of a transaction by transaction hash.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions arbitrum/eth_maxPriorityFeePerGas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,7 @@ paths:
description: "Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or 'tip', to get a transaction included in the current block."
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions astar/eth_maxPriorityFeePerGas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,7 @@ paths:
description: "Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or 'tip', to get a transaction included in the current block."
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
14 changes: 1 addition & 13 deletions base/eth_feeHistory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ components:
description: Returns a collection of historical gas information.
tags: []
parameters:
- name: apiKey
in: path
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>
required: true
- $ref: ../components/parameters.yaml#/ApiKey
requestBody:
content:
application/json:
Expand Down
Loading