Questions tagged [safe-core-sdk]

Developer support questions for the Gnosis Safe core SDK and tools that facilitate the interaction with the Safe contract and services.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Gnosis safe integration error

When I create a gnosis safe from their website and hardcode the address to buy a nft using thirdweb it works. But when I create a safe using their sdk and pass in that address to the buyOutListing of ...
user avatar
0 votes
0 answers
17 views

Getting 'Error: missing revert data in call exception' when calling safeSdk.executeTransaction()

Once the transaction is signed by all the owners, I'm trying to execute it with the executeTransaction() safeSdk method but the transaction is being reverted and it returns me this error => Error: ...
user avatar
  • 1
0 votes
0 answers
11 views

Getting `422` api error while executing a transaction using gnosis safe sdk

I have implemented the sdk for signing and sending custom tokens to other users from the gnosis treasury wallet. However, I am receiving the 422 api transaction error. Currently I am getting the ...
user avatar
0 votes
0 answers
37 views

GS026-Cannot execute Txn on Gnosis

I have the following issue: I create, sign, and propose a transaction with safe-core-sdk. This transaction then goes to another dapp where an owner address approves using metamask. On gnosis UI at ...
user avatar
0 votes
0 answers
16 views

Transaction Hash for transaction in dataDecoded of a Safe Transaction

May I know is there any way to get the transaction hash of smart contract function call which being executed via safeSdk.executeTransaction(safeTransaction), in dataDecodedresult when calling ...
user avatar
0 votes
1 answer
58 views

GS025: Hash Has Not Been Approved Gnosis

I am getting the GS025 error from Tenderly. The flow of my development is this: my own application using gnosis safe-core-sdk signs and proposes transactions to the gnosis safe on goerli or polygon. I'...
user avatar
0 votes
1 answer
31 views

Gnosis safe refund amount is not equal to gas fee

I am trying to enable a gas fee refund by referring to this doc. The refund thing is working but I am not able to get the exact refund which is equal to the actual gas fee. The refund amount is either ...
user avatar
0 votes
1 answer
78 views

Creating multi-send transactions for native chain tokens (MATIC/ETH)

I am building up a multi-send transaction using the safe-core-sdk which will then be proposed using the safe-service-client's proposeTransaction method. I am able to do this currently for deployed ...
user avatar
  • 39
0 votes
0 answers
71 views

How to notify other owners of gnosis safe when a transaction is created and also to check if a transaction is in queue with api or sdk?

I have a use case where a safe will have multiple owners and as soon a transaction is created other owners should be notified of the pending transaction. In order to do this, should I maintain this ...
user avatar
  • 111
0 votes
1 answer
161 views

Cannot read properties of undefined (reading 'getChainId')

I am calling below method to instantiate a safe : // here props.account contains signedin owner address var web3 = new Web3(Web3.givenProvider); const ethAdapterOwner1 = new Web3Adapter({ ...
user avatar
  • 111
0 votes
1 answer
94 views

"Invalid Multi Send contract address" on Harmony

I'm using @gnosis.pm/safe-core-sdk to connect to a safe on Harmony Mainnet. This exact same code is used on other EVM based chains without issues. Stacktrace: instrument.ts?6969:130 Error: Invalid ...
user avatar
0 votes
0 answers
37 views

executeTransaction function's estimated gas limit was not enough to execute the transaction

When I executed a transaction with executeTransaction function then it failed on Ethereum Mainnet due to out of gas but when I tried again then it succeed. I compared the gas limits of both the ...
user avatar
0 votes
1 answer
65 views

Is there a way to get safe addresses associated with an owner address?

I am trying to use Gnosis safe core sdk(https://github.com/gnosis/safe-core-sdk) to build an application. Once application is connected to a user through metamask, is there a way to fetch safe ...
user avatar
  • 111
0 votes
1 answer
162 views

Getting "error: cannot estimate gas" on Ethereum mainnet but not on Rinkeby?

I am trying to execute a gnosis safe transaction on Ethereum mainnet but consistently this error - error: cannot estimate gas; transaction may fail or may require manual gas limit (error={\"code\&...
user avatar
1 vote
1 answer
63 views

Move transaction to Different Nonce, Keep signatures

Setup is as follows: nonce=1: 2/8 approved nonce=2: 8/8 approved I want to do the tx at nonce=2 before nonce=1 but I don't want to recreate the TX and set the nonce because then I need to wrangle 8 ...
user avatar
1 vote
1 answer
36 views

Track Gnosis Safes Created from Specific Source

we are using the safe API to create safes for our users and we want to track things like safes created, ETH volume, erc20/NFTs owned in the safe, etc. through platforms like Dune. We aren't using any ...
user avatar
2 votes
1 answer
64 views

deploySafe function not returns transaction hash?

Currently when we call the const safeSdk: Safe = await safeFactory.deploySafe({ safeAccountConfig }) then we have to wait for the transaction success and mainly for the newly deployed safe address. ...
user avatar
0 votes
0 answers
21 views

How to get owners of a Safe after deploying a smart contract [duplicate]

I am getting an error while logging the owner1 when running the script which prints the JSON_RPC on the terminal. How do i get the owners who were involved in deploying the Safe contract
user avatar
  • 11
0 votes
2 answers
153 views

Proposed transaction doesnt appear in queue, and can't be confirmed

I'm using the safe-core-sdk to propose a transaction to my Gnosis safe. Once proposed, I can view the transaction by going to it directly with this URL: https://gnosis-safe.io/app/eth:...
user avatar
0 votes
1 answer
40 views

Gnosis-Chain_ID error

I am trying to deploy a Safe smart contract but am getting an error that says Here is the deployment code: const { SafeFactory, ethAdapter } = require ('@gnosis.pm/safe-core-sdk') import Safe from &...
user avatar
  • 11
1 vote
2 answers
242 views

How to use eip-712 to sign with safe-core-sdk

According to this guide. Now we can use code below to sign a safe transaction. const txHash = await sdk.getTransactionHash(safeTransaction); const signature = await sdk.signTransactionHash(...
user avatar
0 votes
1 answer
133 views

How to initialise existing Gnosis SAFE and create transaction?

I have a node.js file where I want to initialise an existing Gnosis SAFE where my address is a signer and create transactions with it. I'm on the SDK version 1.3.0 and this is my code --> const { ...
user avatar
0 votes
1 answer
54 views

'origin' field not exist in SafeTransactionData

On this rest api Doc https://safe-transaction.gnosis.io the SafeMultisigTransaction Input type has property 'origin' that's supposed to "give more information about the transaction". This ...
user avatar
0 votes
0 answers
110 views

Multi send transactions are no longer displaying actions

Previously on the Gnosis Safe UI, when I proposed a multi-send safe transaction using the safe-core-sdk and safe-service-client, I was able to see each action associated with that tx. Now when I send ...
user avatar
  • 39
0 votes
2 answers
1k views

Getting 'TypeError: Cannot read properties of undefined (reading 'arrayify')' while signing safeTransaction with ethAdapter

I am getting the following error while signing a simple ether transfer transaction with the Safe Core SDK. const ethAdapter = new EthersAdapter({ ethers: ether3, signer: ether3.getSigner(0), }) ...
user avatar
1 vote
1 answer
174 views

How can you identify if a transaction has been rejected on the gnosis safe transaction service using the core-sdk

I am using the safe-core-sdk to propose transactions to the Gnosis Safe Transaction Service. When the transaction has been proposed, I am then checking frequently via a job whether the transaction has ...
user avatar
  • 39
1 vote
1 answer
83 views

Is there a limit to the amount of transfers in a multi-send transcation

Have been using the safe-core-sdk to propose transactions containing a bunch of ERC20 token transfers. Is there a limit, or maximum amount of transfers, that can be part of this multisend transaction? ...
user avatar
  • 39
1 vote
1 answer
97 views

Does a safe-core-sdk multi-send transaction revert if one of the actions fails?

Am currently using the Gnosis safe-core-sdk and safe-service-client. Am building out some functionality which batch sends varying amounts of tokens to various addresses using the multi send feature ...
user avatar
  • 39
0 votes
1 answer
106 views

Gnosis safe-core-sdk : EthersAdapter is giving empty object

I'm trying to use safe-core-sdk on our Dapp but the EthersAdapter instance creation is always giving empty object even the signer is getting from the provider is working fine Lib used : ether.js ^5....
user avatar
0 votes
2 answers
184 views

safeTxGas always ends up being 0 which causes revert inside multisend contract

Making a follow up thread since it was recommended to post the full code snippet: "Out of gas" revert inside the multisend contract We are still having the issue of the revert inside the ...
user avatar
1 vote
1 answer
103 views

Getting an error while calling 'safeSdk.executeTransaction()'

I have a safe with 1 owner and 1 threshold. I am trying to do a simple token transfer transaction but getting an error. // Able to create and sign transaction off-chain successfully { "...
user avatar
1 vote
1 answer
284 views

How to use Safe Core SDK in backend(Node.js)?

I want to use Gnosis Safe's Multisig wallet both from a web app(Next.js) and a mobile app(React Native). For this, using Safe Core SDK on the backend and building APIs using it seems a good approach. ...
user avatar
0 votes
2 answers
127 views

"Out of gas" revert inside the multisend contract

I got the refundReceiver working (had been passing the separate transactions into the encodeMulti function instead of the array of transactions into createTransaction) but I get an "out of gas&...
user avatar
0 votes
1 answer
43 views

How do I reimburse the gas fee (in ether) to the signer using the safe-core-sdk?

I thought reimbursing the signer who is executing the transaction in ether from the safe's ether would be as simple as adding in that refundReceiver param but what I am missing? Thanks! const ...
user avatar
1 vote
0 answers
71 views

How Safe UI creates new Safe?

I am creating a frontend similar to Safe UI using which users can create new multi-sig wallets for themselves. I am using Safe Core SDK on my front end (Next.js). Now when I deploy the new safe I face ...
user avatar
1 vote
1 answer
95 views

Creating a Txn end to end

Hi not needing this now but I think the docs needs some work to produce a start to end flow of all the code as the parts and pieces don't really work together currently. I start with the below from ...
user avatar
  • 21
2 votes
1 answer
334 views

GS025 error when executing Gnosis Safe multisig transaction

I'm having problems with executing a multisig transaction on a 2/2 Gnosis Safe. I've successfully executed single sig transactions on a different vault, but I can't get multisig to work: After ...
user avatar
1 vote
0 answers
300 views

How to use Safe Core SDK & Gnosis Safe Transaction Service API together?

What I understood is using Safe Core SDK - we can create safes and execute transactions and using Gnosis Safe Transaction Service API we can track the transactions. If this is correct then: How to ...
user avatar
1 vote
1 answer
260 views

Executing Transaction

https://docs.gnosis-safe.io/build/sdks/core-sdk Looking at the above, I can approve a transaction taking the txHash from the API. But if I want to execute the transaction as below it takes a ...
user avatar
  • 21
0 votes
1 answer
23 views

Owners list issues

I'm trying to use the sdk and am unclear from the docs https://docs.gnosis-safe.io/build/sdks/core-sdk. Do I need to include owner1 in the owners array so that he can sign transactions after that? In ...
user avatar
0 votes
1 answer
800 views

How to deploy gnosis safe proxy contracts on Mumbai testnet(Polygon) using Safe Core SDK?

I am following Safe Core SDK docs and wants to create a safe proxy contract on the Mumbai testnet, getting the following error Error: Invalid Safe Proxy Factory contract address when I switch to ...
user avatar
1 vote
1 answer
147 views

Getting "Error: Safe Proxy contract is not deployed in the current network" after calling safeFactory.deploySafe()

I was able to deploy a safe proxy contract on the Rinkeby testnet using this but I am facing an issue. After calling safeFactory.deploySafe(), it gives an error Error: Safe Proxy contract is not ...
user avatar
1 vote
1 answer
175 views

How to send ERC20 & ERC721 tokens using Safe Core SDK?

I am using Safe Core SDK in my web app(Next.js) project to generate and deploy Safes on Polygon Testnet(Mumbai) by the users. I can see the functions provided by SDK to create, sign and execute ...
user avatar