aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contract-wrappers/src/schemas/tx_opts_schema.ts')
-rw-r--r--packages/contract-wrappers/src/schemas/tx_opts_schema.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/schemas/tx_opts_schema.ts b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
new file mode 100644
index 000000000..bddc33b6c
--- /dev/null
+++ b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
@@ -0,0 +1,8 @@
+export const txOptsSchema = {
+ id: '/TxOpts',
+ properties: {
+ gasPrice: { $ref: '/Number' },
+ gasLimit: { type: 'number' },
+ },
+ type: 'object',
+};