734 questions
0
votes
0
answers
3k
views
How to solve error about configparser not having a SafeConfigParser attribute when installing py-near?
I am getting the following error when downloading py-near using pip:
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
I ran the following ...
0
votes
1
answer
102
views
installed near and got usb lib error, what is the trouble?
I installed near over WSL setting.
Linux NT00654071 4.4.0-19041-Microsoft #3996-Microsoft Thu Jan 18 16:36:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
node and npm versions are fine. I changed default ...
0
votes
1
answer
36
views
Are we able to use near-indexer-framework with current Existing Validator Node?
If i have a validator node is running, are we possible to use near-indexer-frameowork without init a new full Node and based on current validator node to index the data? Currently saw it in Nearcore ...
1
vote
1
answer
103
views
How to get the account ID for a delegate action in a Near protocol contract?
I'm trying to use delegate actions with my contract.
From the contract's point of view it's irrelevant whether the action is in a standard transaction, or a delegate one. How can I get the relevant ...
-1
votes
1
answer
65
views
SQL function Error : near "FROM": syntax error [closed]
IDK what is wrong but its not working? Could someone help me on this? I am trying to get an output with diagnosis and if patient id is even then Yes and No otherwise.
Error : near "FROM": ...
1
vote
1
answer
92
views
How to get all transaction and user information from bigquery Near and indexer-lake-framework?
I realised that the transactions and user account information from bigquery-public-data.crypto_near_mainnet_us and near-lake-framework is not block height 0, and it is starting record from 2020-07-21 ...
1
vote
1
answer
56
views
I use near view with a contract method and get a MethodNotFound error, but the contract was deployed successfully
I created a .wasm file using this Rust code
use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize};
use near_sdk::{near_bindgen, env};
const PASSWORD_NUMBER: u8 = 1;
#[near_bindgen]
#[derive(...
1
vote
1
answer
82
views
How to get all NFT(NEP-171) owned by specific account in near protocol?
I want to get all NFT account owned.
The way I found is just get account owned token in specific collection.
const params = {
request_type: 'call_function',
method_name: '...
2
votes
1
answer
119
views
How to get all validators in near blockchain through bigQuery?
I am doing a project to collect all validators in near blockchain. Is it a way to get all the validators in near blockchain through big query? Or any others way can done it?
That is expected to Get ...
0
votes
2
answers
490
views
Get NEAR blockchain transactions
I try to get all transactions of an account from NEAR blockchain. Apparently, nearblocks.io provides an API to retrieve them from, since they index the NEAR blockchain (as I understood). However, when ...
-1
votes
1
answer
61
views
Using a ledger to call a smart contract on NEAR in CLI version 4+
It looks like the useLedgerKey flag has been deprecated in near-cli version 4+ but it's not clear what the replacement syntax is.
For example, how would I run the equivalent of this in the new cli:
...
0
votes
1
answer
120
views
Decoding base64 from `View Contract State Changes` NEAR RPC API
I am using the NEAR RPC API to gather on-chain data. I am trying to use the View Contract State Changes call (https://docs.near.org/api/rpc/contracts#view-contract-state-changes). I'm having some ...
1
vote
1
answer
169
views
Near js micro transactions/meta transactions relayer
I really need your help with realization meta transactions on Near. I find this dock:
https://docs.near.org/develop/relayers/build-relayer
that have no examples and not described imports and also this ...
3
votes
2
answers
466
views
How to Borsh serialize (in Typescript) arguments to interact with Aurora contract from Near?
I have the following contract deployed on Aurora testnet:
pragma solidity >=0.6.12 <0.9.0;
contract Counter {
uint256 value;
function print() public view returns (uint256) {
return ...
0
votes
1
answer
263
views
How sign a message on Near with Meteor Wallet in js app?
I would like to get the signature of a message 'hello' on Near in my Next Js app.
I wanted to use this code : https://docs.near.org/develop/integrate/backend-login, but I did not manage to connect to ...