The options for the POST request.
Options for making a POST request, including the API client configuration.
OptionalacceptType?: MimeTypeThe accepted content type of the response of the API
The config for the API client
Optionalbody?: anyThe body of the request, should match the content type of the request
OptionalcontentType?: MimeTypeThe content type of the request body
The name of the API method
Optionaloverrides?: ClientConfigSpecific client overrides for this request to override aptosConfig
Optionalparams?: Record<string, string | AnyNumber | boolean | undefined>The query parameters for the request
The URL path to the API method
The type of API endpoint to call e.g. fullnode, indexer, etc
The response from the POST request.
Executes a POST request to the specified URL with the provided options.