Skip to content
docs

GetApprovalsOptions

Defined in: core/dist/index-QWdcwE6y.d.ts:858

Filters for IApprovalsProtocol.getApprovals.

optional fromBlock?: number

Defined in: core/dist/index-QWdcwE6y.d.ts:868

Scan from this block.


optional includeZero?: boolean

Defined in: core/dist/index-QWdcwE6y.d.ts:866

Also return approvals already set to zero.


optional spenders?: string[]

Defined in: core/dist/index-QWdcwE6y.d.ts:864

Only these spenders.


optional standards?: ApprovalStandard[]

Defined in: core/dist/index-QWdcwE6y.d.ts:860

Only these kinds.


optional toBlock?: number

Defined in: core/dist/index-QWdcwE6y.d.ts:870

Scan up to this block.


optional tokens?: string[]

Defined in: core/dist/index-QWdcwE6y.d.ts:862

Only these token contracts or mints.