Generates deterministic API credentials using an L1 wallet signature.
| Header | Description |
|---|---|
FORKAST_ADDRESS | Polygon address that controls the wallet signing the request. |
FORKAST_SIGNATURE | EIP-712 signature authorizing the API key creation. |
FORKAST_TIMESTAMP | Current Unix timestamp (seconds). |
FORKAST_NONCE | Monotonic nonce tied to the signature. |
| Header | Description |
|---|---|
FORKAST_REFERRAL | Referral wallet address to credit, must be a 0x-prefixed Polygon address (for example, 0x1bc5698917fe6b0d10fa60b739c81854f808fdc2). |
| Field | Type | Description |
|---|---|---|
key | string | UUID v4 identifier for subsequent API requests (FORKAST_API_KEY). |
secret | string | Base64-encoded secret (may include padding =) used to sign L2 requests; store securely. |
passphrase | string | 64-character hex string sent with each L2 request (FORKAST_PASSPHRASE). |
secret and passphrase are returned only once. Persist them securely—Forkast cannot recover these values later. To inspect keys later, use GET /auth/api-keys; to revoke, call DELETE /auth/api-key.Polygon address authorizing the request.
EIP-712 signature for the L1 authentication payload.
Unix timestamp (seconds) included in the signed payload.
Nonce value tied to the signature.
Optional referral wallet address (must start with 0x).
"0x1bc5698917fe6b0d10fa60b739c81854f808fdc2"
API key credentials
UUID v4 identifier used for L2 requests.
"5f0c1f74-0c0e-4dc4-9d3f-5b0c8c2f6c62"
Base64-encoded secret used to derive L2 signatures.
"0v3KQ9nZgk4JrYvPQpQZBQ=="
64-character hex string sent with each L2 request.
"8f2b1c0d8a6e4f7b9c2d1e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3"