freddiecoleman / chia-client

TypeScript client for Chia RPC interfaces.
https://www.chiaexplorer.com/
MIT License
89 stars 43 forks source link

Add sendTransactionAndGetId #23

Closed CMEONE closed 3 years ago

CMEONE commented 3 years ago

Adds

public async sendTransactionAndGetId(
    walletId: string,
    amount: number,
    address: string,
    fee: number
  ): Promise<{}>

which returns both the transaction object and the transaction id ({ transaction, transactionId: transaction_id })

CMEONE commented 3 years ago

@freddiecoleman Could this PR please be merged?

CMEONE commented 3 years ago

@freddiecoleman or @JordyBaylac awaiting your approval/merge, thanks!

freddiecoleman commented 3 years ago

Sorry for the delay..