Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit efd8465

Browse files
committed
Changes to header structure
1 parent 5e403ec commit efd8465

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/interfaces/network.interfaces.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,7 @@ export type IFetchBalanceResponse = {
153153
// `/utxo_addresses` endpoint response
154154
export type IFetchUtxoAddressesResponse = string[];
155155

156-
<<<<<<< HEAD
157156
// `/create_item_asset` endpoint response
158-
=======
159-
// `/create__asset` endpoint response
160-
>>>>>>> c5e7beb (Renaming for new item structure)
161157
export type ICreateItemResponse = {
162158
asset: {
163159
asset: IAssetItem;
@@ -179,11 +175,7 @@ export enum IDrsTxHashSpecification {
179175
Default = 'Default',
180176
}
181177

182-
<<<<<<< HEAD
183178
// `/create_item_asset` payload structure
184-
=======
185-
// `/create__asset` payload structure
186-
>>>>>>> c5e7beb (Renaming for new item structure)
187179
export type IItemCreationAPIPayload = {
188180
item_amount: number;
189181
script_public_key: string;

src/services/ablock.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ export class ABlockWallet {
319319
this.mempoolRoutesPoW,
320320
IAPIRoute.FetchBalance,
321321
);
322+
322323
return await axios
323324
.post<INetworkResponse>(
324325
`${this.mempoolHost}${IAPIRoute.FetchBalance}`,
@@ -1238,6 +1239,9 @@ export class ABlockWallet {
12381239
),
12391240
);
12401241

1242+
console.log('paymentBody', paymentBody.createTx);
1243+
console.log(JSON.stringify(paymentBody.createTx));
1244+
12411245
const { usedAddresses } = paymentBody;
12421246

12431247
// Generate the needed headers

0 commit comments

Comments
 (0)