pub async fn claim_gtc_neurons(
        caller: &PrincipalId,
        neuron_ids: Vec<NeuronId>,
    ) -> Result<(), String> {
        let result: Result<Result<(), GovernanceError>, (Option<i32>, String)> = call(
            GOVERNANCE_CANISTER_ID,
            "claim_gtc_neurons",
            candid,
            (*caller, neuron_ids),
        )
        .await;

        let result = result.map_err(|(code, msg)| {
            format!(
                "Error calling method 'claim_gtc_neurons' of the Governance canister. Code: {:?}. Message: {}",
                code, msg
            )
        })?;

        result.map_err(|e| {
            format!(
                "Error returned by 'claim_gtc_neurons' of the Governance canister: {:?}",
                e
            )
        })
    }
/// Call the `claim_gtc_neurons` method of the Governance canister
Call the `claim_gtc_neurons` method of the Governance canister
Call the ` claim_gtc_neurons ` method of the Governance canister
pub async fn claim_gtc_neurons(
        caller: &PrincipalId,
        neuron_ids: Vec<NeuronId>,
    ) -> Result<(), String> {
        let result: Result<Result<(), GovernanceError>, (Option<i32>, String)> = call(
            GOVERNANCE_CANISTER_ID,
            "claim_gtc_neurons",
            candid,
            (*caller, neuron_ids),
        )
        .await;
        let result = result.map_err(|(code, msg)| {
            format!(
                "Error calling method 'claim_gtc_neurons' of the Governance canister. Code: {:?}. Message: {}",
                code, msg
            )
        })?;
        result.map_err(|e| {
            format!(
                "Error returned by 'claim_gtc_neurons' of the Governance canister: {:?}",
                e
            )
        })
    }
pub async fn claim_gtc_neurons ( caller : & PrincipalId , neuron_ids : Vec < NeuronId > , ) -> Result < ( ) , String > { let result : Result < Result < ( ) , GovernanceError > , ( Option < i32 > , String ) > = call ( GOVERNANCE_CANISTER_ID , " " , candid , ( * caller , neuron_ids ) , ) . await ; let result = result . map_err ( | ( code , msg ) | { format ! ( " " code msg ) } ) ? ; result . map_err ( | e | { format ! ( " " e ) } ) }
Call the `claim_gtc_neurons` method of the Governance canister
Call the ` claim_gtc_neurons ` method of the Governance canister
caller
&PrincipalId
neuron_ids
Vec<NeuronId>
caller
&PrincipalId
neuron_ids
Vec<NeuronId>