Skip to content

Commit

Permalink
feat(api): manual updates (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Aug 22, 2024
1 parent 4f38d44 commit f47ce0b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 18
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-754a61dd8dcffd304c0251207b065996c770525aa8f61108ff60f06715998f9e.yml
22 changes: 22 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,28 @@ Methods:

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

# Starknet

Types:

- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc1155Details</a></code>
- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc1155Diff</a></code>
- <code><a href="./src/resources/starknet/starknet.ts">StarknetErc20Details</a></code>
- <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">StarknetNativeDiff</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>

# Site

Types:
Expand Down
10 changes: 10 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export class Blockaid extends Core.APIClient {
solana: API.Solana = new API.Solana(this);
stellar: API.Stellar = new API.Stellar(this);
bitcoin: API.Bitcoin = new API.Bitcoin(this);
starknet: API.Starknet = new API.Starknet(this);
site: API.Site = new API.Site(this);
token: API.Token = new API.Token(this);
tokenBulk: API.TokenBulk = new API.TokenBulk(this);
Expand Down Expand Up @@ -261,6 +262,15 @@ export namespace Blockaid {

export import Bitcoin = API.Bitcoin;

export import Starknet = API.Starknet;
export import StarknetErc1155Details = API.StarknetErc1155Details;
export import StarknetErc1155Diff = API.StarknetErc1155Diff;
export import StarknetErc20Details = API.StarknetErc20Details;
export import StarknetErc20Diff = API.StarknetErc20Diff;
export import StarknetErc721Details = API.StarknetErc721Details;
export import StarknetErc721Diff = API.StarknetErc721Diff;
export import StarknetNativeDiff = API.StarknetNativeDiff;

export import Site = API.Site;
export import SiteScanHitResponse = API.SiteScanHitResponse;
export import SiteScanMissResponse = API.SiteScanMissResponse;
Expand Down
10 changes: 10 additions & 0 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ export {
SiteScanParams,
Site,
} from './site';
export {
StarknetErc1155Details,
StarknetErc1155Diff,
StarknetErc20Details,
StarknetErc20Diff,
StarknetErc721Details,
StarknetErc721Diff,
StarknetNativeDiff,
Starknet,
} from './starknet/starknet';
export {
StellarAssetContractDetailsSchema,
StellarAssetTransferDetailsSchema,
Expand Down

0 comments on commit f47ce0b

Please sign in to comment.