@turnkey/ethers
or @turnkey/viem
signers.
Turnkey API documentation lives here: https://docs.turnkey.com.
@turnkey/http
provides fully typed http fetchers for interacting with the Turnkey API. You can find all available methods here. The types of input parameters and output responses are also exported for convenience.
The OpenAPI spec that generates all fetchers is also included in the package.
withAsyncPolling(...)
helper/submit/sign_transaction
, /submit/sign_raw_payload
). To help you simplify async mutations, @turnkey/http
provides a withAsyncPolling(...)
wrapper. Here’s a quick example:
createNewEthereumPrivateKey.ts
in the with-ethers
example.
@turnkey/ethers
: Turnkey Signer for Ethers
@turnkey/viem
: Turnkey Custom Account for Viem