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

    Interface PersonalServerLineageParams

    Lineage read against the Personal Server holding the record.

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

    Hierarchy

    • LineageRequestOptions
      • PersonalServerLineageParams
    Index

    Properties

    version?: string | number

    Read the lineage as of this version (a positive decimal integer); omitted = the current version, or the last version that carried lineage when the current one is a tombstone.

    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.

    personalServerUrl: string

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

    scope: string

    The scope whose lineage to read.

    grantId: string

    A grant covering the scope, sent as the signed grantId claim.

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

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

    Account for a viem wallet client without a hoisted account.

    audience?: string

    Web3Signed audience; defaults to personalServerUrl.