@dfns/sdk 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/wallets/types.d.ts +34 -3
- package/package.json +1 -1
|
@@ -85,7 +85,7 @@ export type BroadcastTransactionRequest = BroadcastTransactionParams & {
|
|
|
85
85
|
body: BroadcastTransactionBody;
|
|
86
86
|
};
|
|
87
87
|
export type CreateWalletBody = {
|
|
88
|
-
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "
|
|
88
|
+
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "OptimismGoerli" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
89
89
|
name?: string | undefined;
|
|
90
90
|
externalId?: string | undefined;
|
|
91
91
|
tags?: string[] | undefined;
|
|
@@ -481,7 +481,7 @@ export type GetWalletHistoryQuery = {
|
|
|
481
481
|
limit?: string | undefined;
|
|
482
482
|
paginationToken?: string | undefined;
|
|
483
483
|
direction?: ("In" | "Out") | undefined;
|
|
484
|
-
kind?: ("NativeTransfer" | "Erc20Transfer" | "Erc721Transfer") | undefined;
|
|
484
|
+
kind?: ("NativeTransfer" | "Erc20Transfer" | "Erc721Transfer" | "UtxoTransfer") | undefined;
|
|
485
485
|
contract?: string | undefined;
|
|
486
486
|
};
|
|
487
487
|
export type GetWalletHistoryResponse = {
|
|
@@ -598,6 +598,37 @@ export type GetWalletHistoryResponse = {
|
|
|
598
598
|
symbol?: string | undefined;
|
|
599
599
|
/** @deprecated use metadata.asset.verified instead */
|
|
600
600
|
verified?: boolean | undefined;
|
|
601
|
+
} | {
|
|
602
|
+
walletId: string;
|
|
603
|
+
direction: "In" | "Out";
|
|
604
|
+
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
605
|
+
blockNumber: number;
|
|
606
|
+
txHash: string;
|
|
607
|
+
index?: string | undefined;
|
|
608
|
+
timestamp: string;
|
|
609
|
+
metadata: {
|
|
610
|
+
asset: {
|
|
611
|
+
symbol?: string | undefined;
|
|
612
|
+
decimals?: number | undefined;
|
|
613
|
+
verified?: boolean | undefined;
|
|
614
|
+
quotes?: {
|
|
615
|
+
[x: string]: number;
|
|
616
|
+
} | undefined;
|
|
617
|
+
};
|
|
618
|
+
fee?: {
|
|
619
|
+
symbol?: string | undefined;
|
|
620
|
+
decimals?: number | undefined;
|
|
621
|
+
verified?: boolean | undefined;
|
|
622
|
+
quotes?: {
|
|
623
|
+
[x: string]: number;
|
|
624
|
+
} | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
};
|
|
627
|
+
kind: "UtxoTransfer";
|
|
628
|
+
froms: string[];
|
|
629
|
+
tos: string[];
|
|
630
|
+
value: string;
|
|
631
|
+
fee?: string | undefined;
|
|
601
632
|
})[];
|
|
602
633
|
nextPageToken?: string | undefined;
|
|
603
634
|
};
|
|
@@ -621,7 +652,7 @@ export type GetWalletNftsResponse = {
|
|
|
621
652
|
};
|
|
622
653
|
export type GetWalletNftsRequest = GetWalletNftsParams;
|
|
623
654
|
export type ImportWalletBody = {
|
|
624
|
-
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "
|
|
655
|
+
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "OptimismGoerli" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
625
656
|
name?: string | undefined;
|
|
626
657
|
externalId?: string | undefined;
|
|
627
658
|
tags?: string[] | undefined;
|