Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "http://localhost:1317/cosmos/tx/v1beta1/simulate" \ -H "Content-Type: application/json" \ -d '{}'{
"gas_info": {
"gas_wanted": "string",
"gas_used": "string"
},
"result": {
"data": "string",
"log": "string",
"events": [
{
"type": "string",
"attributes": [
{
"key": "string",
"value": "string",
"index": true
}
]
}
],
"msg_responses": [
{
"type_url": "string",
"value": "string"
}
]
}
}{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"type_url": "string",
"value": "string"
}
]
}