mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
return full TransactionReceipt
This commit is contained in:
parent
0f39b44276
commit
2e80920c4d
@ -26,7 +26,7 @@ export default class OceanToken extends ContractBase {
|
|||||||
|
|
||||||
public async transfer(to: string, amount: number, from: string) {
|
public async transfer(to: string, amount: number, from: string) {
|
||||||
return this.send('transfer', from, [to, amount]).then(
|
return this.send('transfer', from, [to, amount]).then(
|
||||||
(result: TransactionReceipt) => result.transactionHash
|
(result: TransactionReceipt) => result
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user