Learn how to get an API Key and make your first request with the expand.network API.
To perform read queries, directly target our domain https://api.expand.network/
to hit our API environment. Following are the examples to make read queries:
π Replace "YOUR_API_KEY"
with your API Key, which was received by completing Step 1.
To perform a write transaction, you would require the followings:-
expand.network SDK which can be cloned from GitHub.
API key
Example code: Send one Wei from an address ending in 2c7
to address ending in 86F
. You need to use your private key to sign the transaction. The return value is the transaction hash (res
).
Good to know: All transactions are securely signed on your end, so your private key remains with you and never comes to us over API. We do not hold your crypto at any point: Your Keys, Your Crypto.