Skip to content

feat(block): add block module - #5

Open
snqb wants to merge 1 commit into
jpgarcia:mainfrom
snqb:main
Open

feat(block): add block module#5
snqb wants to merge 1 commit into
jpgarcia:mainfrom
snqb:main

Conversation

@snqb

@snqb snqb commented Jul 6, 2021

Copy link
Copy Markdown

Added block module as per https://bscscan.com/apis#blocks

Comment thread src/block.ts
)
}

function getBlockNumberByTimestamp(timestamp: number, closest: QueryParams['closest'], requestConfig?: RequestConfig) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closest: QueryParams['closest']

not sure about this, but didn't want to duplicate the declaration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant