ComputeTaxRequest is the request type for the Service.ComputeTax RPC method.
tx is the transaction to simulate. Deprecated. Send raw tx bytes instead.
ComputeTaxResponse is the response type for the Service.ComputeTax RPC method.
POST //terra/tx/v1beta1/compute_tax HTTP/1.1 Host: lunc.nownodes.io Content-Type: application/json Accept: */* Content-Length: 627 { "tx": { "body": { "messages": [ { "type_url": "text", "value": "text" } ], "memo": "text", "timeout_height": "text", "extension_options": [ { "type_url": "text", "value": "text" } ], "non_critical_extension_options": [ { "type_url": "text", "value": "text" } ] }, "auth_info": { "signer_infos": [ { "public_key": { "type_url": "text", "value": "text" }, "mode_info": { "single": { "mode": "SIGN_MODE_UNSPECIFIED" }, "multi": "[Circular Reference]" }, "sequence": "text" } ], "fee": { "amount": [ { "denom": "text", "amount": "text" } ], "gas_limit": "text", "payer": "text", "granter": "text" }, "tip": { "amount": [ { "denom": "text", "amount": "text" } ], "tipper": "text" } }, "signatures": [ "text" ] }, "tx_bytes": "text" }
A successful response.
{ "tax_amount": [ { "denom": "text", "amount": "text" } ] }