Open sideninja opened 2 years ago
What's the status on the HTTP apis? The last time I attempted to add support for them to the SDK they weren't anywhere near ready.
The official JS SDK has moved to HTTP APIs by default, and our project hasn't had any issues executing scripts/txs, or dealing with account management. The docs aren't perfect, but we were able to get our Swift FCL library working with it.
I skimmed through the functions in AsyncFlowAccessApiImpl.kt
and FlowAccessApiImpl.kt`, it doesn't look like it would be too difficult to add HTTP support.
Our new access nodes will support HTTP API in addition to the gRPC API. We believe it would be beneficial if all SDKs will support the HTTP API as well. This is a feature request for supporting the new API.
The Open API specification can be found here: https://github.com/onflow/flow/tree/master/openapi And the documentation can be found: https://docs.onflow.org/http-api/
The new HTTP API is available on testnet (
https://rest-testnet.onflow.org/v1/
) and mainnet (https://rest-mainnet.onflow.org/v1/
).