diff --git a/.stats.yml b/.stats.yml index 4d67575f..22e81322 100755 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/api.md b/api.md index b1d7eb32..13ac8201 100755 --- a/api.md +++ b/api.md @@ -169,6 +169,28 @@ Methods: - client.bitcoin.transaction.scan({ ...params }) -> TransactionScanResponse +# Starknet + +Types: + +- StarknetErc1155Details +- StarknetErc1155Diff +- StarknetErc20Details +- StarknetErc20Diff +- StarknetErc721Details +- StarknetErc721Diff +- StarknetNativeDiff + +## Transaction + +Types: + +- TransactionScanResponse + +Methods: + +- client.starknet.transaction.scan({ ...params }) -> TransactionScanResponse + # Site Types: diff --git a/src/index.ts b/src/index.ts index 8def040f..0bd4f564 100755 --- a/src/index.ts +++ b/src/index.ts @@ -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); @@ -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; diff --git a/src/resources/index.ts b/src/resources/index.ts index b7410b67..f84bc422 100755 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -80,6 +80,16 @@ export { SiteScanParams, Site, } from './site'; +export { + StarknetErc1155Details, + StarknetErc1155Diff, + StarknetErc20Details, + StarknetErc20Diff, + StarknetErc721Details, + StarknetErc721Diff, + StarknetNativeDiff, + Starknet, +} from './starknet/starknet'; export { StellarAssetContractDetailsSchema, StellarAssetTransferDetailsSchema,