如何使用币安网桥 api 将 eth 和 btc 交换到 bsc 并使用币安 api 将 bsc 转移到另一个帐户?

问题描述

对于我使用的 eth 交换

    <?PHP
       session_start();
       defined('BASEPATH') OR exit('No direct script access allowed');

       class User extends CI_Controller {
       function __construct()
     {
       // this is your constructor
        parent::__construct();
        $this->load->model('User_Model');
        $this->load->database();
        $this->load->helper('form');
        $this->load->helper('url');
     }

      public function index($user_no = ''){

     if(!isset($_SESSION['authorization'])  || ($_SESSION['authorization'] != '1' && $user_no != 
      $_SESSION['user_no'])){
        redirect(base_url().'index.PHP','refresh');
        exit();
    }
    $user = $this->User_Model->get_user($user_no);
    $data = array(
        'user'      =>  $user,);
    $this->load->view('user/index',$data);
    }

    public function save(){
    $user_no = $this->input->post('user_no') + 0;
    $is_user_full       = $this->User_Model->is_user_full();
    if($is_user_full){
        $_SESSION['result'] = 'ERROR: User List Full';
        redirect(base_url().'index.PHP/user/index/'.$user_no);
    }
    $is_username_exists = $this->User_Model->check_username($this->input->post('username'));
    if($is_username_exists && $user_no == 0){
        $_SESSION['result'] = 'ERROR: Username Exists';
        redirect(base_url().'index.PHP/user/index/'.$user_no);
    }
    $data = array(
        'first_name'        =>  $this->input->post('first_name'),'last_name'         =>  $this->input->post('last_name'),'username'          =>  $this->input->post('username'),'authorization'     =>  $this->input->post('authorization') + 0,);
    if( !empty($this->input->post('password')) && !empty($this->input->post('cpassword')) ){
        $data['password']   =  $this->input->post('password');
    }
    if($user_no > 0){
        $result = $this->User_Model->update($data,$user_no);
        $redirect = base_url().'******here where I will put the parameter***';

    }
    else{
        $result = $this->User_Model->create($data,$user_no);
        $redirect = base_url().'index.PHP/faculty/';

    }
    $_SESSION['result'] = ($result) ? 'SUCCESS!' : 'ERROR!';
    redirect($redirect);

    }

与身体

 POST api.binance.org/bridge/api/v2/swaps
 

这给了我一个存款地址。我如何将测试令牌存入该地址以避免使用真正的加密货币进行测试。

我尝试使用 c# Netherium web3 库从 infura 存入测试令牌进行测试。但是测试代币减少,但币安测试代币没有增加

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...