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

    Type Alias PostRequestOptions

    Options for making a POST request, including the API client configuration.

    type PostRequestOptions = {
        acceptType?: MimeType;
        aptosConfig: AptosConfig;
        body?: any;
        contentType?: MimeType;
        originMethod: string;
        overrides?: ClientConfig;
        params?: Record<string, string | AnyNumber | boolean | undefined>;
        path: string;
        type: AptosApiType;
    }
    Index

    Implementation - Client

    acceptType?: MimeType

    The accepted content type of the response of the API

    aptosConfig: AptosConfig

    The config for the API client

    body?: any

    The body of the request, should match the content type of the request

    contentType?: MimeType

    The content type of the request body

    originMethod: string

    The name of the API method

    overrides?: ClientConfig

    Specific client overrides for this request to override aptosConfig

    params?: Record<string, string | AnyNumber | boolean | undefined>

    The query parameters for the request

    path: string

    The URL path to the API method

    The type of API endpoint to call e.g. fullnode, indexer, etc