Skip to content

Commit

Permalink
feat(api): manual updates (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 12, 2024
1 parent 9579ef1 commit 945e3f2
Show file tree
Hide file tree
Showing 9 changed files with 1,000 additions and 941 deletions.
16 changes: 7 additions & 9 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,16 @@ Methods:

# Bitcoin

## Transaction

Types:

- <code><a href="./src/resources/bitcoin/transaction.ts">TransactionScanResponse</a></code>
- <code><a href="./src/resources/bitcoin/bitcoin.ts">BitcoinTransactionScanRequest</a></code>
- <code><a href="./src/resources/bitcoin/bitcoin.ts">BitcoinTransactionScanResponse</a></code>

## Transaction

Methods:

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

# Starknet

Expand All @@ -175,16 +176,13 @@ Types:
- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc20Diff</a></code>
- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc721Details</a></code>
- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc721Diff</a></code>
- <code><a href="./src/resources/starknet/starknet.ts">StarknetTransactionScanResponse</a></code>

## Transaction

Types:

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

Methods:

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

# Site

Expand Down
14 changes: 12 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ import {
TokenScanResponse,
} from './resources/token';
import { TokenBulk, TokenBulkScanParams, TokenBulkScanResponse } from './resources/token-bulk';
import { Bitcoin } from './resources/bitcoin/bitcoin';
import {
Bitcoin,
BitcoinTransactionScanRequest,
BitcoinTransactionScanResponse,
} from './resources/bitcoin/bitcoin';
import {
Erc1155Diff,
Erc1155Exposure,
Expand Down Expand Up @@ -92,6 +96,7 @@ import {
StarknetErc20Diff,
StarknetErc721Details,
StarknetErc721Diff,
StarknetTransactionScanResponse,
} from './resources/starknet/starknet';
import {
Stellar,
Expand Down Expand Up @@ -417,7 +422,11 @@ export declare namespace Blockaid {
type StellarTransactionScanResponse as StellarTransactionScanResponse,
};

export { Bitcoin as Bitcoin };
export {
Bitcoin as Bitcoin,
type BitcoinTransactionScanRequest as BitcoinTransactionScanRequest,
type BitcoinTransactionScanResponse as BitcoinTransactionScanResponse,
};

export {
Starknet as Starknet,
Expand All @@ -427,6 +436,7 @@ export declare namespace Blockaid {
type StarknetErc20Diff as StarknetErc20Diff,
type StarknetErc721Details as StarknetErc721Details,
type StarknetErc721Diff as StarknetErc721Diff,
type StarknetTransactionScanResponse as StarknetTransactionScanResponse,
};

export {
Expand Down
Loading

0 comments on commit 945e3f2

Please sign in to comment.