Property | Description |
---|---|
via | Must be set to “etherspot-prime” to ensure the batches are sent via prime. |
skip | Optional: Takes a boolean value of true or false. Set skip= when you would like to skip these batches from being estimated and sent. |
id | Optional: An ID (which can be a string, number etc) that allows you to define the ID of this batches group. We will use this ID if you provide it internally, but also allows you to use it to keep track elsewhere within your app. |
onEstimated | Optional: Takes a function which accepts a parameter which is an estimation object. This is fired when an transaction cost estimation has been completed of all the contained EtherspotBatch components. See the code example below to see how this is used. |
onSent |