Skip to content

Commit

Permalink
add paramsFormat to getBlockHeight method
Browse files Browse the repository at this point in the history
  • Loading branch information
KartikSoneji committed Apr 20, 2024
1 parent d0ddded commit e589e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/types/all-methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const methods = {
name: "getBlockHeight",
defaultParams: {},
optionalParams: { commitment: "confirmed", minContextSlot: 0 },
paramsFormat: "object",
},
getBlockProduction: {
name: "getBlockProduction",
Expand Down
1 change: 1 addition & 0 deletions src/lib/types/method-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const methods = {
name: "getBlockHeight",
defaultParams: {},
optionalParams: { commitment: "confirmed", minContextSlot: 0 },
paramsFormat: "object",
},
getBlockProduction: {
name: "getBlockProduction",
Expand Down

0 comments on commit e589e06

Please sign in to comment.