aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-06 06:24:11 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-06 06:24:11 +0800
commit9ba00a1077ba53f00e7b75f650289dfc3aff47ff (patch)
tree6b575c0ef1101641c149c32e1e978eab4f9fe5c2 /packages
parent405234133b784bf563a4220cc6380d25c901e453 (diff)
downloaddexon-0x-contracts-9ba00a1077ba53f00e7b75f650289dfc3aff47ff.tar.gz
dexon-0x-contracts-9ba00a1077ba53f00e7b75f650289dfc3aff47ff.tar.zst
dexon-0x-contracts-9ba00a1077ba53f00e7b75f650289dfc3aff47ff.zip
Add comments for gasPrice and gasLimit
Diffstat (limited to 'packages')
-rw-r--r--packages/asset-buyer/src/types.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/asset-buyer/src/types.ts b/packages/asset-buyer/src/types.ts
index f779d123f..90502ac69 100644
--- a/packages/asset-buyer/src/types.ts
+++ b/packages/asset-buyer/src/types.ts
@@ -77,6 +77,8 @@ export interface BuyQuoteRequestOpts {
/**
* ethAmount: The desired amount of eth to spend. Defaults to buyQuote.worstCaseQuoteInfo.totalEthAmount.
* takerAddress: The address to perform the buy. Defaults to the first available address from the provider.
+ * gasLimit: The amount of gas to send with a transaction (in Gwei). Defaults to an eth_estimateGas rpc call.
+ * gasPrice: Gas price in Wei to use for a transaction
* feeRecipient: The address where affiliate fees are sent. Defaults to null address (0x000...000).
*/
export interface BuyQuoteExecutionOpts {