mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-29 05:15:32 +08:00
fix: use Blob in TransactionsApi
This commit is contained in:
committed by
Matthew Little
parent
50b003740e
commit
8d7bdbb153
@@ -39,7 +39,7 @@ export interface GetTransactionListRequest {
|
||||
}
|
||||
|
||||
export interface PostCoreNodeTransactionsRequest {
|
||||
body?: string;
|
||||
body?: Blob;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -240,7 +240,7 @@ export class TransactionsApi extends runtime.BaseAPI implements TransactionsApiI
|
||||
|
||||
const headerParameters: runtime.HTTPHeaders = {};
|
||||
|
||||
headerParameters['Content-Type'] = 'text/plain';
|
||||
headerParameters['Content-Type'] = 'application/octet-stream';
|
||||
|
||||
const response = await this.request({
|
||||
path: `/v2/transactions`,
|
||||
|
||||
Reference in New Issue
Block a user