diff --git a/.stats.yml b/.stats.yml index 8d8aae1e..72e3fa20 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 23 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-6f1ac2a9de4a8298df8197175559de9c59080838571143867b61821613623222.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-d4f3f22091ac421fa8f59b31b0b50edcc8a55d364334171cc9ef3ac2fa521060.yml diff --git a/src/resources/evm/transaction-bulk.ts b/src/resources/evm/transaction-bulk.ts index 58ca7f97..c90c1cb3 100644 --- a/src/resources/evm/transaction-bulk.ts +++ b/src/resources/evm/transaction-bulk.ts @@ -37,6 +37,11 @@ export interface TransactionBulkScanParams { */ metadata: EvmAPI.Metadata; + /** + * Should aggregate the results to one result + */ + aggregated?: boolean; + /** * The relative block for the block validation. Can be "latest" or a block number. */ diff --git a/tests/api-resources/evm/transaction-bulk.test.ts b/tests/api-resources/evm/transaction-bulk.test.ts index 999d431f..ac2bc510 100644 --- a/tests/api-resources/evm/transaction-bulk.test.ts +++ b/tests/api-resources/evm/transaction-bulk.test.ts @@ -49,6 +49,7 @@ describe('resource transactionBulk', () => { }, ], metadata: { domain: 'https://example.com' }, + aggregated: true, block: '20224477', options: ['validation'], });