Data API

Construction API
Unlike traditional SDKs, Construction API implementations are fully stateless, can perform construction offline (when metadata like an account nonce is pre-fetched), and never have access to private key material.
Simplified Flow using a Higher-Level Interface
Many developers may not have security constraints that dictate that construction must occur offline, or that they use their own detached signer (making the previously described flow much more cumbersome than other transaction construction and signing SDKs). Fortunately, it is possible (and encouraged) to build higher-level interfaces on top of these low-level endpoints to simplify development for integrators. For example, an interface developer may wish to automatically fetch metadata during their call to construct a transaction so users would not even know there are multiple interactions occurring. One could also provide a signing library with their higher-level interface so users do not need to use a detached signer. Here is an example of a simplified flow: