メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.injective.network/llms.txt

Use this file to discover all available pages before exploring further.

dApp内でテストネットfaucet統合を行いたい場合、必要なのは `https://jsbqfdd4yk.execute-api.us-east-1.amazonaws.com/v1/faucet` に対して POST リクエストを行い、POST リクエストのbodyとして { address: inj1...} を渡すことだけです。アドレスはキュー内に保存され、5〜10分ごとに処理されます。 以下はサンプルコードです:\
import { HttpClient } from "@injectivelabs/utils"

const LAMBDA_API = "https://jsbqfdd4yk.execute-api.us-east-1.amazonaws.com/v1"
const client = new HttpClient(LAMBDA_API);

client
  .post("faucet", { address: "inj1...." })
  .then((response: any) => {
    alert("success, your address is in the queue");
  })
  .catch((e: any) => {
    alert("Something happened - " + e.message);
  })
  .finally(() => {
    //
  });
Last modified on May 14, 2026