@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Type Alias AptosRequest

    The API request type

    the url to make the request to, i.e. https://fullnode.devnet.aptoslabs.com/v1

    the request method "GET" | "POST"

    (optional) - the endpoint to make the request to, i.e. transactions

    (optional) - the body of the request

    (optional) - the content type to set the content-type header to, by default is set to application/json

    (optional) - query params to add to the request

    (optional) - the local method the request came from

    (optional) - a ClientConfig object type to override request data

    type AptosRequest = {
        acceptType?: string;
        body?: any;
        contentType?: string;
        method: "GET" | "POST";
        originMethod?: string;
        overrides?: ClientConfig & FullNodeConfig & IndexerConfig & FaucetConfig;
        params?: Record<string, string | AnyNumber | boolean | undefined>;
        path?: string;
        url: string;
    }
    Index

    Properties

    acceptType?: string
    body?: any
    contentType?: string
    method: "GET" | "POST"
    originMethod?: string
    params?: Record<string, string | AnyNumber | boolean | undefined>
    path?: string
    url: string