I am trying to create a spendTx transaction, i’ve done so both through the ‘/debug/transactions/spend’ endpoint as well as through the new Transaction().spendTx() SDK function. Both functions return a string in the format tx_+EsMAaEBuaOJ/QXTInlxWiHEiC+GIjABsRmJIot9Ou2vsUjvkdqhAYOExyyB2qUAYqPCJkecKeea9JGT9jdP4vbY2Gzq+TyNCgEBAIBQtJf4
Once i try to sign the transaction according to https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/examples/node/aecrypto.md#transaction-signing . I get the error Error: Non-base58 character. (which is correct the + and / characters are not included in base58, this looks like base64). I’ve tried replacing “const binaryTx = Crypto.decodeBase58Check(base58CheckTx)” with “const binaryTx = Crypto.decodeBase64Check(base58CheckTx)”, but this resulted in an invalid tx.
Any idea what i can do to make this work?