yarn add @blocker/steem-api node-fetch# ornpm install @blocker/steem-api node-fetch
You can use any library that supports the WHATWG fetch specification.
const adapter = fetchconst client = adapterclienttags
Send requests with Proxy feature
You can omit the
_api suffix in
api_name and use camelCase in
Send requests without Proxy feature
However it is possible to send requests without using this feature.
There are 3 ways to use the send method.
ApiClient uses adapters to send requests. Currently the only available adapter is the HttpAdapter.
The HttpAdapter constructor receives the function an object as an argument, within that object the fetch instance must be passed as argument.
const adapter = fetch