fetchLastBlock
function fetchLastBlock(graphqlEndpoint: string, headers?: HeadersInit): Promise<PreconditionBaseTypes<{}>>
Defined in: lib/mina/v1/fetch.ts:447
Fetches the last block on the Mina network.
Parameters
graphqlEndpoint
string
= networkConfig.minaEndpoint
headers?
HeadersInit
Returns
Promise
<PreconditionBaseTypes
<{}>>