Skip to content

Commit

Permalink
Merge pull request #296 from alchemyplatform/enhanced-apis-gh-actions
Browse files Browse the repository at this point in the history
add gh actions for enhanced apis and add arb sepolia network to them
  • Loading branch information
SahilAujla authored Nov 8, 2023
2 parents 27d808d + df5041f commit 955c8a9
Show file tree
Hide file tree
Showing 22 changed files with 177 additions and 10 deletions.
153 changes: 153 additions & 0 deletions .github/workflows/sync-apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ jobs:
with:
rdme: openapi account-abstraction/gas_manager_admin.yaml --key=${{ secrets.README_API_KEY }} --id=648a94b656f41511b55a453b

# Update Transaction Receipts API
- name: Update Transaction Receipts API - alchemy_getTransactionReceipts
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transaction-receipts
run: rdme openapi alchemy_getTransactionReceipts.yaml --key=$README_API_KEY --id=62d76a925edcd00083b41115


# Update AA APIs
- name: Update AA API - alchemy_requestGasAndPaymasterAndData
Expand Down Expand Up @@ -107,6 +114,152 @@ jobs:
working-directory: ./account-abstraction
run: rdme openapi rundler_maxPriorityFeePerGas.yaml --key=$README_API_KEY --id=64df886f8b288c002455bba1


# Update Debug APIs
- name: Update Debug API - debug_traceBlockByHash
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./debug
run: rdme openapi debug_traceBlockByHash.yaml --key=$README_API_KEY --id=6328e66279553d00b0462306

- name: Update Debug API - debug_traceBlockByNumber
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./debug
run: rdme openapi debug_traceBlockByNumber.yaml --key=$README_API_KEY --id=6328e64b0f36e300395b02bd

- name: Update Debug API - debug_traceCall
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./debug
run: rdme openapi debug_traceCall.yaml --key=$README_API_KEY --id=6328e601462d7c00963c89f5

- name: Update Debug API - debug_traceTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./debug
run: rdme openapi debug_traceTransaction.yaml --key=$README_API_KEY --id=6328e63ebd678a000f80aa64


# Update Token APIs
- name: Update Token API - alchemy_getTokenAllowance
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./token
run: rdme openapi alchemy_getTokenAllowance.yaml --key=$README_API_KEY --id=62d557bb6c138d007e01972e

- name: Update Token API - alchemy_getTokenBalances
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./token
run: rdme openapi alchemy_getTokenBalances.yaml --key=$README_API_KEY --id=62d551cf2cef3a00205a5924

- name: Update Token API - alchemy_getTokenMetadata
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./token
run: rdme openapi alchemy_getTokenMetadata.yaml --key=$README_API_KEY --id=62d5581637732c00307aec6e


# Update Trace APIs
- name: Update Trace API - trace_block
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_block.yaml --key=$README_API_KEY --id=62d75aa0ae0b8c00ac4bd10b

- name: Update Trace API - trace_call
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_call.yaml --key=$README_API_KEY --id=62e0cbf0a759110013247d5a

- name: Update Trace API - trace_filter
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_filter.yaml --key=$README_API_KEY --id=62e0cdf776a3c0006fb0e8d4

- name: Update Trace API - trace_get
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_get.yaml --key=$README_API_KEY --id=62e0cd4cc45b7f004714b274

- name: Update Trace API - trace_rawTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_rawTransaction.yaml --key=$README_API_KEY --id=62e0cd733bec4800a2cab44b

- name: Update Trace API - trace_replayBlockTransactions
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_replayBlockTransactions.yaml --key=$README_API_KEY --id=62e0cd901c32f9001a935f5a

- name: Update Trace API - trace_replayTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_replayTransaction.yaml --key=$README_API_KEY --id=62e0cdb03e93d900a4b75c8c

- name: Update Trace API - trace_transaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./trace
run: rdme openapi trace_transaction.yaml --key=$README_API_KEY --id=62e0cdd38dfdce003924d062


# Update Transact APIs
- name: Update Transact API - alchemy_getGasOptimizedTransactionStatus
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_getGasOptimizedTransactionStatus.yaml --key=$README_API_KEY --id=634f71298eef9100ad7d99f9

- name: Update Transact API - alchemy_sendGasOptimizedTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_sendGasOptimizedTransaction.yaml --key=$README_API_KEY --id=634f72885e2a9200e4ebf268

- name: Update Transact API - alchemy_simulateAssetChanges
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_simulateAssetChanges.yaml --key=$README_API_KEY --id=64b8502ac5b267003a3c9bcb

- name: Update Transact API - alchemy_simulateAssetChangesBundle
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_simulateAssetChangesBundle.yaml --key=$README_API_KEY --id=64b850f6980cad006c5a78fd

- name: Update Transact API - alchemy_simulateExecution
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_simulateExecution.yaml --key=$README_API_KEY --id=64b8519b7c8a69000c6966b5

- name: Update Transact API - alchemy_simulateExecutionBundle
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi alchemy_simulateExecutionBundle.yaml --key=$README_API_KEY --id=64b8521694c9f5001f316d20

- name: Update Transact API - eth_cancelPrivateTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi eth_cancelPrivateTransaction.yaml --key=$README_API_KEY --id=6425b62a93d5e707f01f7e6a

- name: Update Transact API - eth_sendPrivateTransaction
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./transact
run: rdme openapi eth_sendPrivateTransaction.yaml --key=$README_API_KEY --id=62d6beb6c58877026441688c


# Update Ethereum APIs

Expand Down
1 change: 1 addition & 0 deletions debug/debug_traceBlockByHash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions debug/debug_traceBlockByNumber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions debug/debug_traceCall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions debug/debug_traceTransaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions nft/nfts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ servers: # servers are also specified at the method level, if there ins't a spec
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
- base-mainnet
Expand Down
3 changes: 2 additions & 1 deletion token/alchemy_getTokenAllowance.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Token Allowance
title: alchemy_getTokenAllowance
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand All @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
3 changes: 2 additions & 1 deletion token/alchemy_getTokenBalances.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Token Balance
title: alchemy_getTokenBalances
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand All @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
- base-mainnet
Expand Down
3 changes: 2 additions & 1 deletion token/alchemy_getTokenMetadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Token Metadata
title: alchemy_getTokenMetadata
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand All @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
- base-mainnet
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_call.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Trace Call
title: trace_call
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_filter.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Trace Filter
title: trace_filter
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_get.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Trace Get
title: trace_get
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_rawTransaction.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Trace Raw Transaction
title: trace_rawTransaction
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_replayBlockTransactions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Replay Block Transactions
title: trace_replayBlockTransactions
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_replayTransaction.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Replay Transaction
title: trace_replayTransaction
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
2 changes: 1 addition & 1 deletion trace/trace_transaction.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
title: Trace Transaction
title: trace_transaction
version: '1.0'
servers:
- url: https://{network}.g.alchemy.com/v2
Expand Down
1 change: 1 addition & 0 deletions transact/alchemy_simulateAssetChanges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions transact/alchemy_simulateAssetChangesBundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions transact/alchemy_simulateExecution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions transact/alchemy_simulateExecutionBundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
default: eth-mainnet
Expand Down
1 change: 1 addition & 0 deletions transaction-receipts/alchemy_getTransactionReceipts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
default: eth-mainnet
x-sandbox:
category:
Expand Down
1 change: 1 addition & 0 deletions transfers/alchemy_getAssetTransfers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ servers:
- polygon-mumbai
- arb-mainnet
- arb-goerli
- arb-sepolia
- opt-mainnet
- opt-goerli
- base-mainnet
Expand Down

0 comments on commit 955c8a9

Please sign in to comment.