|
|
|
@ -50,13 +50,13 @@ defmodule Explorer.Chain do |
|
|
|
|
|
|
|
|
|
## Options |
|
|
|
|
|
|
|
|
|
* `:direction` - if specified, will filter internal transactions by address type. If `:to` is specified, only internal |
|
|
|
|
transactions where the "to" address matches will be returned. Likewise, if `:from` is specified, only internal |
|
|
|
|
transactions where the "from" address matches will be returned. If :direction is omitted, internal transactions either |
|
|
|
|
to or from the address will be returned. |
|
|
|
|
* `:direction` - if specified, will filter internal transactions by address type. If `:to` is specified, only |
|
|
|
|
internal transactions where the "to" address matches will be returned. Likewise, if `:from` is specified, only |
|
|
|
|
internal transactions where the "from" address matches will be returned. If :direction is omitted, internal |
|
|
|
|
transactions either to or from the address will be returned. |
|
|
|
|
* `:necessity_by_association` - use to load `t:association/0` as `:required` or `:optional`. If an association is |
|
|
|
|
`:required`, and the `t:Explorer.Chain.InternalTransaction.t/0` has no associated record for that association, then |
|
|
|
|
the `t:Explorer.Chain.InternalTransaction.t/0` will not be included in the page `entries`. |
|
|
|
|
`:required`, and the `t:Explorer.Chain.InternalTransaction.t/0` has no associated record for that association, |
|
|
|
|
then the `t:Explorer.Chain.InternalTransaction.t/0` will not be included in the page `entries`. |
|
|
|
|
* `:pagination` - pagination params to pass to scrivener. |
|
|
|
|
|
|
|
|
|
""" |
|
|
|
@ -723,8 +723,8 @@ defmodule Explorer.Chain do |
|
|
|
|
* `:insert_logs_timeout` - the timeout for inserting all logs. Defaults to `#{@insert_logs_timeout}` milliseconds. |
|
|
|
|
* `:insert_receipts_timeout` - the timeout for inserting all receipts. Defaults to `#{@insert_receipts_timeout}` |
|
|
|
|
milliseconds. |
|
|
|
|
* `:insert_transactions_timeout` - the timeout for inserting all transactions found in the params lists across all types. |
|
|
|
|
Defaults to `#{@insert_transactions_timeout}` milliseconds. |
|
|
|
|
* `:insert_transactions_timeout` - the timeout for inserting all transactions found in the params lists across all |
|
|
|
|
types. Defaults to `#{@insert_transactions_timeout}` milliseconds. |
|
|
|
|
""" |
|
|
|
|
def import_blocks( |
|
|
|
|
%{ |
|
|
|
|