See the approach detailed here: https://forum.dfinity.org/t/how-to-read-the-result-of-sign-send-just-as-we-do-with-call/3652?u=ori
Using the dfx sign and dfx send commands: https://sdk.dfinity.org/docs/developers-guide/cli-reference/dfx-canister.html#_dfx_canister_send
And request-status: https://sdk.dfinity.org/docs/developers-guide/cli-reference/dfx-canister.html#_dfx_canister_request_status