AlexanderBuzz / xrpl-php

A PHP library to interact with the XRP Ledger (XRPL) blockchain
ISC License
5 stars 3 forks source link

Multi-sign #25

Closed nicoeni closed 5 months ago

nicoeni commented 5 months ago

Hi,

Could we do a multisign with that API? The payload should looks like that

( [method] => sign_for [Account] => $wallet_signer [tx_json] => Array ( [TransactionType] => Payment [Account] => $wallet_multisign [Amount] => 500000 [SigningPubKey] => [Destination] => $destination_wallet [Fee] => 30000 [DestinationTag] => 123 [Sequence] => 74452999 [LastLedgerSequence] => 85678210 ) )

Thank you

nicoeni commented 5 months ago

I can sign the transaction with

$signedTx = $wallet->sign($tx,$wallet_signer);

but there is an error when I submit the blob.

nicoeni commented 5 months ago

I found how to do it.