Skip to content

NearNativeTransaction Policy

NearNativeTransaction Policy enables vault operators to execute native NEAR blockchain transactions directly from the vault contract. This capability serves two critical functions:

  • Facilitating the transfer of multi-token (mt) assets from the vault to Vault Managed Accounts on NEAR, which can then sign messages for executing intent-based token swaps
  • Enabling strategic deployment of funds by transferring mt tokens to Vault Managed Accounts across various blockchain networks

Restrictions can be applied to NearNativeTransaction Policy just like ChainSigTransaction Policy.

#[near(serializers = [json, borsh])]
pub struct NearNativeTransactionConfig {
    pub chain_name: String,
    pub restrictions: Vec<Restriction>,
}