Vana SDK - v4.1.0
    Preparing search index...

    Interface GetDerivativeStatusParams

    What getDerivativeStatus needs to sign and send one read.

    interface GetDerivativeStatusParams {
        personalServerUrl: string;
        derivedScope: string;
        grantId?: string;
        signer: WriteSignerSource;
        audience?: string;
        fetch?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
        headers?: HeadersInit;
        signal?: AbortSignal;
        account?: `0x${string}`
        | Account;
    }

    Hierarchy (View Summary)

    Index

    Properties

    personalServerUrl: string

    Personal Server origin, e.g. https://ps.example.com.

    derivedScope: string

    The derived scope whose question to observe.

    grantId?: string

    A grant covering the derived scope, sent as the signed grantId claim. Omit only when the signer is the Personal Server's owner, who is authorized without one.

    Reader key: a viem LocalAccount, WalletClient, or { signMessage }.

    audience?: string

    Web3Signed audience; defaults to personalServerUrl.

    fetch?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    fetch to use; defaults to globalThis.fetch.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    headers?: HeadersInit

    Extra request headers.

    signal?: AbortSignal

    Aborts the request in flight.

    account?: `0x${string}` | Account

    Account to sign with when the viem wallet client has no hoisted account (browser wallets). Ignored for other signer shapes.