Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Feb 2, 2024
1 parent c1eb32d commit cd38b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ contractApi.call('set_greeting', { greeting: 'Hello my dear!' }).then(() => cons
As well as the `call`, you will need to pay for every request you make. This is going to change data and store it within the blockchain.

```ts
import { contractApi, buildTransaction } from './web3Api'
import { buildTransaction } from '@wpdas/naxios'
import { contractApi } from './web3Api'

// Using the default instance's contract
const transactionA = buildTransaction('set_greeting', { args: { greeting: 'Hello my dear!' } })
Expand Down

0 comments on commit cd38b1c

Please sign in to comment.