Skip to content

Commit

Permalink
[ADA] Updated broadcast with signatureId param.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Jul 15, 2021
1 parent bc949c4 commit 5628a13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "1.16.21",
"version": "1.16.22",
"description": "",
"main": "dist/src/index.js",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
4 changes: 2 additions & 2 deletions src/blockchain/ada.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {AdaAccount, AdaBlock, AdaBlockChainInfo, AdaTransaction, AdaUtxo, Transa
/**
* For more details, see <a href="https://tatum.io/apidoc#operation/CardanoBroadcast" target="_blank">Tatum API documentation</a>
*/
export const adaBroadcast = async (txData: string): Promise<TransactionHash> =>
post(`/v3/ada/broadcast`, {txData});
export const adaBroadcast = async (txData: string, signatureId?: string): Promise<TransactionHash> =>
post(`/v3/ada/broadcast`, {txData, signatureId});

/**
* For more details, see <a href="https://tatum.io/apidoc#operation/CardanoGetBlockChainInfo" target="_blank">Tatum API documentation</a>
Expand Down

0 comments on commit 5628a13

Please sign in to comment.