Post Request Options
data class PostRequestOptions<T>(val aptosConfig: AptosConfig, var type: AptosApiType, val originMethod: String, val path: String, val contentType: MimeType = MimeType.JSON, val acceptType: MimeType = MimeType.JSON, val params: Map<String, Any?>? = null, var body: T? = null, val overrides: ClientConfig? = null) : RequestOptions
Constructors
Link copied to clipboard
constructor(aptosConfig: AptosConfig, type: AptosApiType, originMethod: String, path: String, contentType: MimeType = MimeType.JSON, acceptType: MimeType = MimeType.JSON, params: Map<String, Any?>? = null, body: T? = null, overrides: ClientConfig? = null)
Properties
Link copied to clipboard
The accepted content type of the response of the API
Link copied to clipboard
The config for the API client
Link copied to clipboard
The content type of the request body
Link copied to clipboard
The name of the API method
Link copied to clipboard
Specific client overrides for this request to override aptosConfig
Link copied to clipboard
The type of API endpoint to call e.g. fullnode, indexer, etc