Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BD-2992. Add encryptOptions to push tx method. Encrypt content field for push tx. #118

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

andreyvEze
Copy link
Contributor

@andreyvEze andreyvEze commented Mar 17, 2022

now to send fio request for example you could:

await fioSdk.genericAction('pushTransaction', {
        action: 'newfundsreq',
        account: 'fio.reqobt',
        data: {
          payer_fio_address: 'payer-address@domain',
          payee_fio_address: 'payee-address@domain',
          content: {
            payee_public_address: 'pubKey',
            amount: 2,
            chain_code: 'FIO',
            token_code: 'FIO',
            memo: 'hello',
            hash: '',
            offline_url: ''
          },
          max_fee: 200000000
        }
      })

@ericbutz ericbutz merged commit 2395919 into develop Mar 23, 2022
@ericbutz ericbutz deleted the fix/BD-2992-push-tx-content-encryption branch March 23, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants