Readonly
fetchReadonly
headersReadonly
urlCall an API endpoint and return the response. Provider is responsible for JSON encoding the params and decoding the response.
Optional
headers?: Record<string, string>Optional
method?: APIMethodsOptional
params?: unknownpath The endpoint path, e.g. /v1/chain/get_info
params The request body if any.
Default provider that uses the Fetch API to call a single node.