Add some fields to PostTxsResponse

This commit is contained in:
Simon Warta 2020-02-05 09:45:15 +01:00
parent 68670fc8a1
commit ce18a5296d
2 changed files with 12 additions and 0 deletions

View File

@ -64,6 +64,12 @@ interface PostTxsResponse {
readonly txhash: string;
readonly code?: number;
readonly raw_log?: string;
/** The same as `raw_log` but deserialized? */
readonly logs?: object;
/** The gas limit as set by the user */
readonly gas_wanted?: string;
/** The gas used by the execution */
readonly gas_used?: string;
}
interface EncodeTxResponse {

View File

@ -49,6 +49,12 @@ interface PostTxsResponse {
readonly txhash: string;
readonly code?: number;
readonly raw_log?: string;
/** The same as `raw_log` but deserialized? */
readonly logs?: object;
/** The gas limit as set by the user */
readonly gas_wanted?: string;
/** The gas used by the execution */
readonly gas_used?: string;
}
interface EncodeTxResponse {
readonly tx: string;