Skip to content

Commit

Permalink
feat(api): api update (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Oct 31, 2024
1 parent ec35a7c commit a7c30f6
Show file tree
Hide file tree
Showing 8 changed files with 767 additions and 486 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-55118c53a81dd5c570c3bc3138f2a9e569da2b05f570880459c7e20bb43c297c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-46d8eab626e61bba9c77116adbcfcbc34a35b2742976789e9f3643f399386f2c.yml
8 changes: 5 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,16 @@ Types:

- <code><a href="./src/resources/stellar/stellar.ts">StellarAssetContractDetailsSchema</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarAssetTransferDetailsSchema</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarTransactionScanRequest</a></code>
- <code><a href="./src/resources/stellar/stellar.ts">StellarTransactionScanResponse</a></code>

## Transaction

Types:

- <code><a href="./src/resources/stellar/transaction.ts">TransactionScanResponse</a></code>

Methods:

- <code title="post /v0/stellar/transaction/scan">client.stellar.transaction.<a href="./src/resources/stellar/transaction.ts">scan</a>({ ...params }) -> StellarTransactionScanResponse</code>
- <code title="post /v0/stellar/transaction/scan">client.stellar.transaction.<a href="./src/resources/stellar/transaction.ts">scan</a>({ ...params }) -> TransactionScanResponse</code>

# Bitcoin

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "Apache-2.0",
"packageManager": "yarn@1.22.22",
"files": [
"*"
"**/*"
],
"private": false,
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ export namespace Blockaid {
export import Stellar = API.Stellar;
export import StellarAssetContractDetailsSchema = API.StellarAssetContractDetailsSchema;
export import StellarAssetTransferDetailsSchema = API.StellarAssetTransferDetailsSchema;
export import StellarTransactionScanRequest = API.StellarTransactionScanRequest;
export import StellarTransactionScanResponse = API.StellarTransactionScanResponse;

export import Bitcoin = API.Bitcoin;

Expand Down
2 changes: 0 additions & 2 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ export { StarknetErc1155Diff, StarknetErc20Diff, StarknetErc721Diff, Starknet }
export {
StellarAssetContractDetailsSchema,
StellarAssetTransferDetailsSchema,
StellarTransactionScanRequest,
StellarTransactionScanResponse,
Stellar,
} from './stellar/stellar';
export { TokenBulkScanResponse, TokenBulkScanParams, TokenBulk } from './token-bulk';
Expand Down
10 changes: 2 additions & 8 deletions src/resources/stellar/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export {
StellarAssetContractDetailsSchema,
StellarAssetTransferDetailsSchema,
StellarTransactionScanRequest,
StellarTransactionScanResponse,
Stellar,
} from './stellar';
export { TransactionScanParams, Transaction } from './transaction';
export { StellarAssetContractDetailsSchema, StellarAssetTransferDetailsSchema, Stellar } from './stellar';
export { TransactionScanResponse, TransactionScanParams, Transaction } from './transaction';
Loading

0 comments on commit a7c30f6

Please sign in to comment.