Skip to content

Commit 01a4dc0

Browse files
committed
fix osmo-ibc-transfer
1 parent 152ce00 commit 01a4dc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "2.12.2",
3+
"version": "2.12.3",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/services/noble.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ export class NobleService extends Service {
4646
/**
4747
* Transfer IBC USDC from your account to an OSMO account
4848
* @param pubkey
49-
* @param receiver
49+
* @param recipient
5050
* @param amountUsdc
5151
*/
52-
async craftOsmoIbcTransfer(pubkey: string, receiver: string, amountUsdc: number): Promise<CosmosTx> {
52+
async craftOsmoIbcTransfer(pubkey: string, recipient: string, amountUsdc: number): Promise<CosmosTx> {
5353
const { data } = await api.post<CosmosTx>(`/v1/noble/transaction/osmo-ibc-transfer`, {
5454
pubkey,
55+
recipient,
5556
amount_uusdc: this.usdcToUusdc(amountUsdc.toString()),
56-
receiver,
5757
});
5858
return data;
5959
}

0 commit comments

Comments
 (0)